|
|
|
||||
|
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
Join Date: Feb 2003
Posts: 2,192
|
Hi
I need a cookie script done in php on hwich I can set it to expire at any given time. Let me know if you can do this or know a website that has the code ICQ 63125103 thanks |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Aug 2002
Location: on the internet
Posts: 3,783
|
__________________
<table cellspacing="0" cellpadding="3" border="1" bgcolor="#008000"><tr><td><font size=3>Gone</font></td></tr></table> |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Jul 2001
Location: See sig
Posts: 6,989
|
I have a good cookie recipe if that helps?
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Feb 2003
Posts: 2,192
|
thanks for that link but i need one wihtout the use of mysql
|
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Feb 2003
Posts: 2,192
|
Quote:
|
|
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Jul 2001
Location: See sig
Posts: 6,989
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Feb 2003
Posts: 2,192
|
Basically I am iframing an active-x dialer code on one of my CJs and I want it to only show once every 24 hours to the same person.
|
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
|
Quote:
Code:
<?PHP setcookie( 'COOKIE_NAME', 'COOKIE_CONTENT', time( ) + 86400, '/', $_SERVER[ 'SERVER_NAME' ] ); ?> To check for the cookie: Code:
<?PHP
if ( $_COOKIE[ 'COOKIE_NAME' ] )
{
// then blah
}
?>
|
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
contact me ;)
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
or just goto php.net and search for setcookie in the function list.
|
|
|
|