You are here: Re: [PHP] [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI « PHP « IT news, forums, messages
Re: [PHP] [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI

Posted by Robin Vickery on 08/23/05 19:07

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация