Re: [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI
| From: | Robin Vickery | Date: | Tue, 23 Aug 2005 16:07:33 +0000 |
| Subject: | Re: [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221181@lists.php.net to get a copy of this message | ||
On 8/23/05, Jochem Maas <jochem@iamjochem.com> wrote:
> Jay Blanchard wrote:
> >
> > 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.
or you could just use glob('*.php') ?
-robin