RE: [PHP] cookie problem
| From: | Matthew Clay Shultz | Date: | Sun, 09 Jul 2000 17:47:05 +0000 |
| Subject: | RE: [PHP] cookie problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5617@lists.php.net to get a copy of this message | ||
ahhh, i think it must be #2...
|###############
http://www.umich.edu/~mcshultz
##################|
On Sun, 9 Jul 2000, Opec Kemp wrote:
> Hi,
>
> A couple of things to check,
>
> 1) Are you trying to read the cookie aross domain? ie if your Perl cgi
> script that set the cookie is on a different domain than your PHP script
> then your PHP script will not be able to read the cookie set by the perl
> script. This is by design.
>
> 2) Did your perl script set PATH value in your cookie? If you did set the
> PATH explicitly (ie not "/" but something like /cgi-bin or something like
> that) and your PHP script is located in a different directory then your PHP
> scripts won't be able to read your cookie.
>
>
> > -----Original Message-----
> > From: Matthew Clay Shultz [mailto:mcshultz@umich.edu]
> > Sent: Sunday, July 09, 2000 4:52 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] cookie problem
> >
> >
> >
> > PHP does not seem to be able to retrieve cookies set by a preceeding perl
> > script, at least in my case. neither $cookie_name nor
> > HTTP_COOKIE_VARS[$cookie_name] give anything but a null string. still, my
> > perl scripts seem to be getting the cookies just fine. does anyone know
> > what is happening here? what is the work around?
> >
> > m@
> >
> > |###############
> > http://www.umich.edu/~mcshultz
> > ##################|
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>