Thanks for all the replies.

Regarding security, I use a script to ensure (hopefully LOL) that only
requests from inside our network are accepted.... both hostnames and IP's
are checked.

I did find lonewolf's reply most usefull, but now I need to come up with way
to make each result (a href...) and add some breaks:

<?php

$items = passthru('locate whatever');

echo "<html><body><P>";

echo $items;

echo "</P></body></html>";

?>



"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
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...
[/snip]

exec("locate foo");

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

Reply via email to