Description: 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. Syntax is: opendir ( string path [, resource context] ) Where: Path - The directory path that is to be opened Context
Home | Feedback | Advertise with us
(c) Copyright 2006 AdvanceScripts™. All rights reserved.
No part of this website may be reproduced, copied and/or distributed in any medium without express written permission
Trademarks are property of their respective owners
Site Developed and Hosted by Ethic Solutions