On Friday 08 September 2006 00:12, Manoj Singh wrote: > Hello all, > > I am developing a site in which i have to show the directory structure of > any server i.e the admin will enter any site name and i have to show the > dir structure of that site name. > > Please help me to fix this. The following may prove useful: http://us2.php.net/scandir http://us2.php.net/manual/en/function.readdir.php http://us2.php.net/manual/en/class.dir.php http://us2.php.net/manual/en/spl (for very new PHP 5) -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php