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