View Single Post
Old 04-03-2009, 09:59 AM   #1 (permalink)
stewart
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default Another hairpulling early morning...

Alright guys, I'm having another dud of a brain moment here..

PHP Code:
<?php

setcookie
('iHateCookies''anything'time()+3600'/''westgrovevoice.com'0true);
setcookie('iHateCookiesz''anythingz'time()+3600'/'false0true);
setcookie('iHateCookiesg''anythingg'time()+3600'/'''0);
setcookie('iHateCookieso''anythingo'time()+3600'/'''0true);

print(
'<pre>'); print_r($_COOKIE); die('</pre>');

?>
Very simple.. right ? Well apparently not. For testing purposes here I'm just trying to set a simple cookie a few different ways with different arguments.

Firefox , cookies get set just fine, great and dandy no problem.

Every other browser under the sun ? (IE, Opera, Chrome, Safari) Nope. Nothing.

I figured someone else has had this *very* simple problem before. There has to be something quite small that I am missing here. I've tried on both localhost, my own personal server and my clients who I am (attempting..) to do this for.

Probably on the same level as my not selecting the correct database the other night in my other post in the MySQL section, but any suggestions would be greatly appreciated.

I'm off to bed though before my head explodes...


Thanks again guys!

Edit:
For some insight..
http://westgrovevoice.com/cookietest.php clients server
http://iamstewart.com/cookietest.php my server

(have to refresh the page at least once to get them to show up btw..)

My other thought is maybe local cookie settings, but wtf mate >.<
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote