RE: [PHP] PHP and Cookies

2003-04-03 Thread John W. Holmes
> I have a problem with php and cookies. I use the following line of code > to set a cookie to expire in one year: > > setcookie('gsp_email',$_POST['requiredsubEmail'],time()*60*60*24*365 > ,'/','',0); > > The idea is that the cookie will sit on the client for a year, so that a > visitor only ha

[PHP] PHP and Cookies

2003-04-03 Thread Scott Teglasi
Hi all, I have a problem with php and cookies. I use the following line of code to set a cookie to expire in one year: setcookie('gsp_email',$_POST['requiredsubEmail'],time()*60*60*24*365,'/','',0); The idea is that the cookie will sit on the client for a year, so that a visitor only ha

RE: [PHP] PHP and cookies and/or headers

2001-02-16 Thread Paul Grant
neither are cookies! Paul Grant > -Original Message- > From: Jeremy Gillies [SMTP:[EMAIL PROTECTED]] > Sent: 15 February 2001 21:54 > To: '[EMAIL PROTECTED]' > Subject: [PHP] PHP and cookies and/or headers > > Greetings, > > Is anyone REALLY f

Re: [PHP] PHP and cookies and/or headers

2001-02-15 Thread Richard Lynch
r a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Jeremy Gillies <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, February 15, 2001 4:00 PM Subject: [PHP] PHP and cookies and/or headers > Greetings, > > Is anyone REALLY familiar wi

Re: [PHP] PHP and cookies and/or headers

2001-02-15 Thread Chris Lee
Ive done this, our secure server is on a differnt IP/domain name, of course I still need cookies though. All I have todo to set the SessionID ona different domainname is pass the PHPSESSID in the url to the new host, and voila I have access to the same SessionID and other session vars. give it

[PHP] PHP and cookies and/or headers

2001-02-15 Thread Jeremy Gillies
Greetings, Is anyone REALLY familiar with PHP and cookies and/or headers-- I have a tough nut to crack and it involves three URLs. Here is the situation, and I really want to avoid using our DB if I can. I have a main URL that everyone will probably hit - splash page. www.mainurl.com >From the