shell commands
| From: | Cody Caughlan | Date: | Tue, 29 Aug 2000 14:30:07 +0000 |
| Subject: | shell commands | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14127@lists.php.net to get a copy of this message | ||
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