[snip]
Thanks but that's no good if there are multiple results!
...
Does anyone have a script that can be used to call linux's locate
command
and display the results in a browser?
...
[/snip]

exec("locate foo");
[/snip]

So you want something like 

while(bar == exec("locate foo"))
        barArray[] = looped value
}

Then 
$glorp = exec("locate foo");

Then parse glorp.

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

Reply via email to