[Fwd: [PHP] shell commands]

From: Date: Tue, 29 Aug 2000 14:43:15 +0000
Subject: [Fwd: [PHP] shell commands]
Groups: php.general 
Request: Send a blank email to php-general+get-14134@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.... I would advice to use the full path to perl, instead of just perl. If that still doesn't work, maybee the html2ps is trying to write somewhere the webserver has not got any right to. Good Luck, Jeroen Geusebroek 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 -- 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

« previous php.general (#14134) next »