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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    file links in list

    basically what i want to do is store files in a non web accessable folder and thn in a page show links to those files in a list.
    what i was wanting to know is could i use a script so when i upload more files to that folder they automatically add into the list?

    basically show a folder contents in a list in a page!

    thanks

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    welcome here!

    check out http://www.php.net/manual/tr/function.readdir.php and http://www.php.net/manual/tr/function.scandir.php (php 5). the usercomments contain plenty os listing scripts
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html


  •  

    Posting Permissions

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