Re: [PHP-WIN] setcookie() not working - help!

2006-12-28 Thread Beraru Liviu
Hi, Thank you for the reply. The problem was in the line 55, as I told. This line was the one in which the setcookie() was writen. But now I solved the problem by just moving the whole script at the beginning of the file, that is before the html and doctype tags. As is writen in the docume

Re: [PHP-WIN] setcookie() not working - help!

2006-12-28 Thread Niel Archer
Hi In the example code you sent, I can't see any reason for an error. Is this a verbatim copy of your code? As Stut implied, the reported error and the documentation tells you everything you should need to know in this case, and as with any problem the documentation should be your first reso

Re: [PHP-WIN] setcookie() not working - help!

2006-12-28 Thread Stut
Beraru Liviu wrote: Hello, I am a newbie in php and have a problem with setting up a cookie. The code should just verify if the user's browser has a cookie from my site, and if there is one, then increase the counter file. If not, then the counter should not be increased. I have Xampp

[PHP-WIN] setcookie() not working - help!

2006-12-28 Thread Beraru Liviu
Hello, I am a newbie in php and have a problem with setting up a cookie. The code should just verify if the user's browser has a cookie from my site, and if there is one, then increase the counter file. If not, then the counter should not be increased. I have Xampp installed, the latest

[PHP-WIN] setcookie & header(Location

2004-02-13 Thread Alan McDonald
On Win2003 it's fine but Win2k will not allow me to use setcookie and then a header("Location combination. I've tried the workaround of renaming php.exe to nph-php.exe for non-parsed header mode but it doesn;t work. What is the genrally used workaround for combining these command on the one page? t

[PHP-WIN] Setcookie()

2003-01-26 Thread Duncan
Hi All, I'm looking for any sites that have working examples on how to use the Setcookie() function. Many thx in adv

RE: [PHP-WIN] setcookie

2001-10-16 Thread Robin Bolton
> -Original Message- > From: Stanley [mailto:[EMAIL PROTECTED]] > Sent: October 17, 2001 12:42 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] setcookie > > Hi, > > thanks for your help! > do you have the problem with IE (ver4 above)? > i tried and cooki

Re: [PHP-WIN] setcookie

2001-10-16 Thread Stanley
00); > > should fix the problem (tested and worked on mine). > > > -Original Message- > > From: Stanley [mailto:[EMAIL PROTECTED]] > > Sent: October 16, 2001 9:36 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] setcookie > > > > Hi, > &g

RE: [PHP-WIN] setcookie

2001-10-16 Thread Robin Bolton
:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] setcookie > > Hi, > > can anyone tell me what's the correct procedure for setcookie.. > i already tried : setcookie ("TestCookie", $value,time()+3600); > but it can't work... > > actually, i

[PHP-WIN] setcookie

2001-10-16 Thread Stanley
Hi, can anyone tell me what's the correct procedure for setcookie.. i already tried : setcookie ("TestCookie", $value,time()+3600); but it can't work... actually, i need to make the authentication page and the page should have expiry function... pls help!.. thx! Stanley -- PHP Windows Mail

[PHP-WIN] setcookie problem

2001-10-09 Thread Angie Tollerson
I am using phpauction scripts with have authentication using session cookies. The strangest thing is happening...there is a line when you successfully login that sets a cookie: setcookie("authenticated","1",0,"","",0); But the rest of the pages fail to stay logged in becase the cookie does