php file to list all sub directorys of a domain

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Global Dialers
    Confirmed User
    • May 2004
    • 1349

    #1

    php file to list all sub directorys of a domain

    ive seen one out there somewhere but cant find it anymore

    anyone happen to have the code or a link to such a file handy?
    the hun gets revenue from pre-paid gallery placements on the top 15 spaces and banners.
    the rest of thegalleries are free placements.
  • Napolean
    Misanthropic Egalitarian
    • Nov 2002
    • 4330

    #2
    $current_directory = @opendir("/domain.com/");

    then loop readdir($current_directory);

    will return all folders and files
    HAH! FOUND IT FRIS

    Comment

    • Linguist
      Confirmed User
      • Apr 2004
      • 1706

      #3
      EDIT: stupid hahahas.. icq me at 315310 if you want it... but you can find something like this on google within minutes

      Not sure if that helps, cause it only lists files or lists both (i dont remember)... got this somewhere for a thing that I was working on... you can make it list directories with minor modifications
      Last edited by Linguist; 07-29-2004, 08:10 PM.
      315-310

      Comment

      • Global Dialers
        Confirmed User
        • May 2004
        • 1349

        #4
        thank you both
        the hun gets revenue from pre-paid gallery placements on the top 15 spaces and banners.
        the rest of thegalleries are free placements.

        Comment

        Working...