<?php echo '<pre>';
// Outputs all the result of shellcommand "ls", and returns // the last output line into $last_line. Stores the return value // of the shell command in $retval. $last_line = system('ls', $retval);
// Printing additional info echo ' </pre> <hr>Last line of the output: '.$last_line.' <hr>Return value: '.$retval; ?>
also see passthru
pete
Imran wrote:
Hi,
Any one know that how can me run a script from command line after receving the input from FORM thru browser....
thnx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php