shell_exec strange issue...
| From: | Dan Joseph | Date: | Thu, 10 Apr 2003 18:00:44 +0000 |
| Subject: | shell_exec strange issue... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143374@lists.php.net to get a copy of this message | ||
Hi Everyone
I have a strange issue I'm trying to sort thru, and thought maybe someone
could assist...
$jack = shell_exec ("/usr/bin/perl
/usr/local/apache/htdocs-subprime/subprime/txt2pdf.cgi
/usr/local/apache/htdocs-subprime" . $txt . ".txt");
It simply runs a cgi that turns a text file into a PDF...
When I run it from the linux prompt, it bulds the PDF, however, when I run
it like that, it creates the PDF as a 0 byte file.
Can anyone tell me what I may be doing wrong? I'm really stumped. Does PHP
4.3.1 have built in PDF creating functions? I'm not in a position to
recompile PHP or purchase anything extra.
-Dan Joseph