List Files In A Directory

Posted by Pete | Posted in PHP Functions | Posted on 10-08-2009-05-2008

0

In this tutorial we will learn how to list all the files that are in a directory via PHP. This is a quick and easy technique which will also remove the . and .. from the listings. So lets get started.

And that’s it. It really is simple for more information about the scandir function visit http://uk3.php.net/manual/en/function.scandir.php. If you want any more help or want to leave feedback please leave a comment.

Write a comment

You must be logged in to post a comment.

Tutorials Written By Peter Kelly