Re: [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/23/05, Jochem Maas <jochem@xxxxxxxxxxxxx> 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

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux