Re: PHPSESSID in passthru
| From: | Guillouet Nicolas | Date: | Wed, 24 Mar 2004 09:27:01 +0000 |
| Subject: | Re: PHPSESSID in passthru | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181360@lists.php.net to get a copy of this message | ||
Sorry, but I tried this : session.use_cookies = 0 in php.ini
and I have always the bug.
And if I use htmldoc on command line with same args it works fine.
Could php forbidden using of PHPSESSID ?
Nicolas
Le mar 23/03/2004 à 16:37, Raditha Dissanayake a écrit :
> Guillouet Nicolas wrote:
>
> >Hi,
> >I discover a surprising thing with PHPSESSID, I try something like this
> >:
> >
> >$var="htmldoc -t html --quiet ''
>
> >>'https://login:password@localhost/file.php?documentIdent=157&typeAffiche=3&PHPSESSID=068dd351a106bb6ead80e11a27f75100'";
> >echo 'var='.$var;
> >passthru($var);
> >
> >
> >passthru is waiting for and don't give the result.
> >
> >In the other hand, if I use an other word than PHPSESSID it works. It
> >seems to be a security constraint, how can I do to forcing PHP to use it
> >?
> >
> >
> >
> Could be that your sessions are set up to work with cookies, this
> mechanism that you are using will not send the cookie to the browser and
> thus it causes the wait state.
>
>
>
>
>
> --
> Raditha Dissanayake.
> ---------------------------------------------
> http://www.radinks.com/print/upload.php
> SFTP, FTP and HTTP File Upload solutions