passthru and GET parameters
| From: | Guillouet Nicolas | Date: | Mon, 23 Feb 2004 17:40:31 +0000 |
| Subject: | passthru and GET parameters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178554@lists.php.net to get a copy of this message | ||
Hi all,
I am trying to use htmldoc with passthru function :
passthru("htmldoc -t html --quiet --jpeg --webpage --footer --bottom
0.2cm --left 1.78cm --right 1cm --top 0.2cm '' $options $filename");
where $filename is urls, it works fine but not with GET pamameters :
if $filename is like
'http://host/file.php?PHPSESSID=**************&value=1',
passthru is
waiting for the command.
I think the trouble comes from the char '&', I have the same result on
command line except if I use quote for the filename. And when I watch
the process created by apache, the command is send without quote or
quotation mark even if I put some in the filename.
How can I do ?
Thanks
Nicolas