Re: converting files using exec function

Top Page
Author: PHP Web Development
To: PHP Web Development
Subject: Re: converting files using exec function

--- Irene Maranan <edita_irene@???> wrote:

> exec("cat somefile.txt | pbmtext | pbmtog3 > trial.g3",
> $output,
> $flag_output);

perhaps the PATH is not properly set for the user ID of PHP
(which is probably the user ID of the Apache web server
you're running), which is why it didn't execute properly?
Or you may want to explicitly qualify where to dump the
trial.g3 file, like /home/myusername/public_html/trial.g3.
This way, your command is not ambiguous.


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
PHP Web Development Mailing List
php@??? (#PHP @
Searchable Archives: