Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Is there an alternative of scandir() for PHP4?

    I don't exactly know what to right here for everything I have to say is in the title of my thread.
    EDIT: Why isn't there a delete function for threads!
    Once again I figured it out from http://ca3.php.net/manual/en/function.scandir.php
    but how could I display it in a list, because when I use the code the output would come in one line such as:
    Code:
    Array ( [0] => . [1] => .. [2] => file.vna [3] => file.php [4] => inphecthyuz.css [5] => file.php [6] => makeMD5.exe [7] => file.php [8] => text.txt )
    Last edited by jacksont123; 06-21-2006 at 03:37 AM.

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    Well, you have the array built up now. Iterate through it and display it how you wish

    Not sure if it helps but this was in the Post a php forum:
    [http://www.codingforums.com/showthread.php?t=71882]

    Good luck;

  • #3
    New Coder
    Join Date
    Jun 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks!


  •  

    Posting Permissions

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