[Fwd: [PHP] shell commands]
| From: | Cody Caughlan | Date: | Tue, 29 Aug 2000 14:34:12 +0000 |
| Subject: | [Fwd: [PHP] shell commands] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14132@lists.php.net to get a copy of this message | ||
I believe I did not make myself clear: there is no output, not even the
html2ps script groaning about something I did wrong, just nothing....
/Cody Caughlan
Cody Caughlan wrote:
>
> Hello,
>
> I am attempting to use the perl script html2ps from a PHP script, I am
> calling it as such:
>
> $x = exec("perl /users/codyc/html2ps/bin/html2ps -o
> /users/codyc/html/mdvt/pdf/Chump_967070206.ps
>
> 'http://xxxxx/mdvt/final_report.php?ciscojobno=967070206'");
>
> To no avail, if I do the same command on the command line, no problem...
> I have tried using passthru(), system(), exec() and backticks. If I
> attempt to execute
> a simple Hello, World PERL script no problem there. It is a not a
> permissions problem, what can it be?
>
> Has anyone been able to use html2ps and pass it a URL?
>
> Thanks
> /Cody Caughlan
>
> --
> 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