Program executing in PHP. Please help
| From: | Latex Master | Date: | Wed, 03 Jul 2002 11:11:00 +0000 |
| Subject: | Program executing in PHP. Please help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105143@lists.php.net to get a copy of this message | ||
Hello php-general,
Dear php list,
I've got completely lost in program execution under php.
I need to run a command grab it's output for the next processing,
So I wrote a script:
<?
$output = shell_exec("uudeview -i /bla/bla.txt -p /bla/bla/");
echo "<pre>";
echo $kick_my_ass;
echo "</pre>";
?>
And I get nothing :(. Script like below:
<?
$output = shell_exec("uudeview");
echo "<pre>";
echo $kick_my_ass;
echo "</pre>";
?>
Work fine outputting me command line parameters.
What have I done wrong?
--
Best regards,
Latex mailto:freeman@submission.org.ru
BTW: PHP not running SAFE MODE