Re: Apache and Php4

From: Date: Wed, 08 Nov 2000 14:21:00 +0000
Subject: Re: Apache and Php4
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3741@lists.php.net to get a copy of this message
On Thu, 9 Nov 2000, Jason Brooke wrote: > > You've got the name of the variable wrong, so maybe you're trying to read > the cookies wrong - it's HTTP_USER_AGENT, not http_agent. A good reference > to these can be found by putting phpinfo() into a script and looking through > the output. > > You might want to post a snip of the code you're using to set the cookie, > and a snip of the code you're using to try and read the cookie so we can > help you diagnose the problem. > > jason > > I know that HTTP_USER_AGENT is full and correct name of such a variable. Cookies that i am telling about,work okay in php3! For example setcookie("name","$name"),where $name is set earlier.I have learnaed how to use them from Leon Atkinsons book "PHP3".In php3 after setting cookie, on the next page,script is seeing it as normal variable for example $name. I m not sure how it is in php4.Maybe there is some other way to called set cookie? Mieszko > > I have successfully installed Php4 under Apache (windows 98),but scripts > > are not seeing cookies.I set them on first page,but on the second php cant > > see them.Also variable http_agent is empty.Cokies are being set because > > Netscape is always asking me about this.So where is the problem???In php > > config files,or in apache 1.3 conf??? > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#3741) next »