[snip]
According to the manual, exec() "does not output anything. It simply 
returns the last line from the result of the command." The OP wants to 
display the output of 'locate' to the browser, so he should use 
passthru(), which displays all raw output.
[/snip]

Cool....

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

Reply via email to