You are here: Re: [PHP] (noob) listing folder content « PHP « IT news, forums, messages
Re: [PHP] (noob) listing folder content

Posted by Justin Gruenberg on 10/07/41 11:12

On Apr 3, 2005 3:32 PM, p80 <p80@free.fr> wrote:
> I have a folder let's call it "/rep" and would like to list all files in it
> and for each file $f I would like to check if "$f == $some_value" and if it
> does "echo $f" any idea how to do that?
>
> thanx in advance
>
> Pat

See the directory functions:
http://us4.php.net/manual/en/ref.dir.php

See the examples for readdir, which is going to be very similar to
what you're trying to do.
http://us4.php.net/manual/en/function.readdir.php

 

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

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