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

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
Hi, thanks for your help! do you have the problem with IE (ver4 above)? i tried and cookie didn't capture by IE, but netscape can.. any advise. thx! actually, i use setcookie in page1.php and will show the value in page2.php... for authentication pls help... thx a lot! Stanley "Robin Bolton"

RE: [PHP-WIN] setcookie

2001-10-16 Thread Robin Bolton
The problem is the second parameter has to be in double quotes. setcookie("TestCookie","$value",time()+3600); 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] > Su