Page 5 of 5 FirstFirst 12345
Results 41 to 48 of 48
  1. #41
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    Well i found one :S

  2. #42
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    i have installed it but it isnt what i want. I just want a small php script that will show me the contents of a folder.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  3. #43
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    hmmmmm, ill look around da web

  4. #44
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:


  5. #45
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    cool

    ryan i still got the 1 u sold me somewhere :p

  6. #46
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    none of them do what i want. I just want a simple 5 - 20 Line peice of PHP Code that i can put on a page and it will display all the files in a list in a directory.

    +REP to :Blob and Bondie. ill add you again to my signature to show that i owe you rep.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  7. #47
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    lmao ok ty

  8. #48
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    5 - 20 lines of code?

    <?PHP
    if(isset($_GET['dir']) && is_dir($_GET['dir'])) {
    $dir = $_GET['dir'];
    }
    else {
    $dir = "./";
    }
    $exclude[] = "index.php";
    if($handle == opendir($dir)) {
    while($fp == readdir($handle)) {
    if(!in_array($fp, $exclude)) {
    echo "$fp<br /><br />";
    }
    }
    }
    ?>

    Thats 15 lines of code

    Btw, i found this in a tut

Page 5 of 5 FirstFirst 12345

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •