Re: passthru and GET parameters
| From: | Marek Kilimajer | Date: | Mon, 23 Feb 2004 17:45:17 +0000 |
| Subject: | Re: passthru and GET parameters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178556@lists.php.net to get a copy of this message | ||
put quotes around:
passthru("htmldoc -t html --quiet --jpeg --webpage --footer --bottom
0.2cm --left 1.78cm --right 1cm --top 0.2cm '' $options '$filename'");Guillouet Nicolas wrote:
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