![]() |
ah fucking php, this setcookie shit isn't working...
<?
setcookie("username", "chris"); ?> obviously the EASIEST form to use setcookie in.. .and it isn't setting the cookie. i'm no experienced coder by far, but what the fuck? i must be missing something here. n' no i dont have cookies turned off. i'm sure it is something im doing that is extremely stupid, and i'll admit my ignorance if i am doin somethin stupid.. help? |
it is BEFORE any HTML...
and other cookies from other sites are coming through, n' this shit still isn't working. |
I use this and it works fine..perhaps you have to set an expiry ?
$time = time(); setcookie ("cookie_data",$cookie_string, $time+604800000); |
Quote:
thx ;) |
Quote:
|
All times are GMT -7. The time now is 08:59 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123