Re: converting files using exec function

Top Page
Author: PHP Web Development
Date:  
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.

/andre


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
______________________________________________
PHP Web Development Mailing List
php@??? (#PHP @ irc.free.net.ph)
http://lists.free.net.ph/mailman/listinfo/php
Searchable Archives: http://marc.free.net.ph