RE: [PHP] PHP Linux "locate" to html script?
| From: | Jay Blanchard | Date: | Fri, 03 Sep 2004 20:35:15 +0000 |
| Subject: | RE: [PHP] PHP Linux "locate" to html script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195779@lists.php.net to get a copy of this message | ||
[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....