Re: PHP Linux "locate" to html script?
| From: | Jason Davidson | Date: | Fri, 03 Sep 2004 18:54:43 +0000 |
| Subject: | Re: PHP Linux "locate" to html script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195767@lists.php.net to get a copy of this message | ||
I assume you mean locating something on the server, as this would be a
serious breech of security otherwise. anyways, bickticks will run
shell comand line programs and return the output..
ie
print
locate myFile';
jason
"BOOT" <pfine@of-law.com> wrote:
>
> Does anyone have a script that can be used to call linux's locate command
> and display the results in a browser?
>
> I don't think it would be that hard and will make an effort today...
>
>
> Thanks!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>