Hello php-general,

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 $output;
echo "</pre>";
?>
 And I get nothing :(. Script like below:
<?
$output = shell_exec("uudeview");
echo "<pre>";
echo $output;
echo "</pre>";
?>
  Work fine outputting me command line parameters. Also when i run
  this file via linux console i get the following mess:
*******************************************************************************
php 6.php
X-Powered-By: PHP/4.0.6
Content-type: text/html

Loaded from /bla/bla.txt: '' (cs99g021.idx): cs99g021.idx part 1 be
gin end yEnc
<html><body><pre>
Found 'cs99g021.idx' State 16 yEnc Parts begin 1 end OK

    File successfully written to /bla/bla/cs99g021.idx
1 file decoded from 1 input file, 0 failed
</pre></html></body>

I think it must be in the other way, like this:
<html><body><pre>
Loaded from /bla/bla.txt: '' (cs99g021.idx): cs99g021.idx part 1 be
gin end yEnc Found 'cs99g021.idx' State 16 yEnc Parts begin 1 end OK

    File successfully written to /bla/bla/cs99g021.idx
1 file decoded from 1 input file, 0 failed
</pre></html></body>


    Please give me some clues where is my mistake, i'm getting little
nuts.
    

-- 
Best regards,
 Latex                          mailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to