Re: cookies not set in Win98
| From: | (Richard Lynch) | Date: | Fri, 30 Jun 2000 18:59:26 +0000 |
| Subject: | Re: cookies not set in Win98 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4102@lists.php.net to get a copy of this message | ||
In article
<4.3.2.7.2.20000619231627.00b66cc0@postoffice5.mail.cornell.edu>,
esr9@cornell.edu (Evan Raskob) wrote:
> Hi, I'm using Xitami 4.22, mysql 3.22.34-shareware, php 4 for Win98. I'm
> just trying to get a demonstration box going here, and I'm using exactly
> the same code that works on my Linux box (Apache, php4), but can't save
> cookies!!!
>
> I use setcookie("var_name", "value"), but nothing happens. The code is
> definitely executing, and it gives me no errors, and the files that have to
> see the cookie are in the same directory as the file setting the
> cookie. It works fine under Apache/Linux, with the same web browsers! And
> if I explicitly specify a value (www.url.com?cookie=something) it works
> fine. I've tried explicitly using $HTTP_COOKIE_VARS[] to no avail. If
> somone can help, I will send them a copy of my php.ini file or whatever.
If you copied php.ini-optimized, then it is set not to do all the nifty
auto-varible things, since that's an optimization...
Read php.ini
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)