You are here: Re: list files from directory on a site « HTML « IT news, forums, messages
Re: list files from directory on a site

Posted by Steven Saunderson on 05/05/06 10:07

On Thu, 04 May 2006 23:40:34 -0700, Jim Moe
<jmm-list.AXSPAMGN@sohnen-moe.com> wrote:

> Steven Saunderson wrote:
> >> >> while(($filename = readdir($dir_list)) !== false) {
> >> >>
> >> That should be "readdir($dir_list)) != false".
> >
> > No !!! The original is correct.
> >
> Ah! One of those bizarre extras.

Yes, it is a bit odd but it is a very necessary and useful feature.
I apologise for my superfluous reply but Martin's more informative reply
hadn't appeared at news.individual when I posted mine.

I don't know why "server internal error" is being reported. If I have
PHP syntax errors I generally get no response but do get a meaningful
message in the error log.

--
Steven

 

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

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