You would possibly be best off with 2 scripts, one to upload the files, and one to list the directory contents. If you're running apache it should be possible for it to list the contents without any scripts, although with google you can find a script to do what you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.