RE: [PHP] Getting queries from files FYI

From: Date: Tue, 23 Aug 2005 15:31:47 +0000
Subject: RE: [PHP] Getting queries from files FYI
Groups: php.general 
Request: Send a blank email to php-general+get-221176@lists.php.net to get a copy of this message
[snip] I figured as much - I was think of adding an optional param so that you can optionally add such an extra limit e,g: cd /my/projects/stuff; php findqry.php --limit CHA > ./results.txt [/snip] argv[] is always available Also, sweet move with the array_reverse... $fileParts = array_reverse(explode('.', $theFile)); if("php" == $fileParts[0]){ ...it prevents problems with funky file names containing more than one period.

« previous php.general (#221176) next »