Re: Wildcard search
| From: | Marco Tabini | Date: | Fri, 08 Nov 2002 18:11:33 +0000 |
| Subject: | Re: Wildcard search | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123445@lists.php.net to get a copy of this message | ||
If you're only executing one-liners and get all the results back you're
better off using shell_exec(). popen() lets you open a pipe to a
command--that way, you can funnel data to it as if you were typing from
the keyboard.
Permissions would be a problem with readdir() as well.
Marco
--
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmer
Come visit us at http://www.phparch.com!