RE: [PHP] PHP Linux "locate" to html script?

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

« previous php.general (#195765) next »