![]() |
![]() |
![]() |
||||
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 |
I’m still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
anyone know of a cookie script for...
setting cookies so if a surfer visited a page before and you dot want him to visit it a gain it will redirect him to the page you want him instead of the page you dont want him or her.
TOM
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Confirmed User
Join Date: Jul 2002
Location: I Love Ixtapa, Mexico ö
Posts: 616
|
Quote:
here is some quick php code that should work (test it first just writing in the little gfy box here) : \<\?php if (!$_COOKIE['iamahomo']) { setcookie("iamahomo","Yes"); } else { header("Location: http://www.iamnotahomo.com/pagetobeserverd.html"); } ?> fuckin thing.... take out the 2 \'s on the first line ... doesnt wanna output it and if you do in PHP tag its fuckin tiny |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
I’m still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
im getting this Warning: Cannot add header information - headers already sent by (output started at /home/sites/site14/web/ifriends.php:8) in /home/sites/site14/web/ifriends.php on line 16
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Jul 2002
Location: I Love Ixtapa, Mexico ö
Posts: 616
|
Quote:
Rory |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
I’m still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
great Fuck yea i t works thanks thanks thank
![]()
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Jul 2002
Location: I Love Ixtapa, Mexico ö
Posts: 616
|
Quote:
![]() Just keep in mind that some people have cookies completely disabled so its always nice to have a backup plan for people who dont have cookies enabled as well. Rory ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
HAL 9000
Industry Role:
Join Date: May 2001
Posts: 34,515
|
nice,i was looking for this too
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |