![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
it is BEFORE any HTML...
and other cookies from other sites are coming through, n' this shit still isn't working. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Dec 2002
Location: New Zealand
Posts: 2,998
|
I use this and it works fine..perhaps you have to set an expiry ?
$time = time(); setcookie ("cookie_data",$cookie_string, $time+604800000);
__________________
Have Asian Language Traffic? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 8,234
|
Quote:
thx ;) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Dec 2002
Location: New Zealand
Posts: 2,998
|
Quote:
![]()
__________________
Have Asian Language Traffic? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |