Directory Listings, list files and subfolder using php
  Directory Listings, list files and subfolder using php
2D Graphics
3D Graphics
Web Design & Development
Business Applications
Business Development
Databases
Desktop Programming
Operating Systems
Video Editing
Miscellaneous
Newsletter
User Login
  • Username
  • Password
Stats
  • Tutorials: 39,011
  • Categories: 572

PHP Tutorials : Directory Listings, list files and subfolder using php

Directory Listings, list files and subfolder using php. This is the simple example to list contents of any Directory. To do this we are going to define function DirDisply( ) which will read the current directory contents and display it as a list.

We first open current directory by $TrackDir=opendir(".");
The opendir function returns a directory handle resource on success, or FALSE on failure.
 Directory Listings, list files and subfolder using php  tutorial
    View Tutorial

Detailed Information

     Tutorial: Directory Listings, list files and subfolder using php
     Date Listed: 2008-05-26
     Submitted By: cdy2k2002
     Total Hits: 7182
     Rating Tutorial Rating 2.77Tutorial Rating 2.77Tutorial Rating 2.77Tutorial Rating 2.77Tutorial Rating 2.77 (171 votes)

    Discuss Tutorial
    Comment On Tutorial
    View Tutorial
    Report Broken Link

 





© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap