You are here: How do you itterate files in a directory « PHP Programming Language « IT news, forums, messages
How do you itterate files in a directory

Posted by tony on 04/24/06 12:20

I'm using PHP to develop for a web site but I'd also like to use it
locally on my Windows platform for easy conversion later on.

I have PHP working fine on windows but now I want to do something
thats stumped me.

On windows-98

I'm trying to perform operations on every text (*.txt) file in a
directory but can't work out how to select them.

Normally I use Delphi and findfirst/findnext etc.

I looked for the equivalent PHP functions and did find directoryIterate
but there's no documents or much explanation at all and I can't get it to
work.

Am I doing the right thing or is there a better way - can anyone show me
please ?

thanks

tony

 

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

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