Page 1 of 1

Browse Server

Posted: Fri Feb 06, 2009 5:31 am
by emhmk1
Hi there,

I looking for a script that will allow an admin to hit a browse button to view the contents of her 'images' folder, pretty much in the way the form button is used to browse computers.

Is it possible? and do you know where a tutorial / code is?

I have searched google to no avail

Cheers...

Re: Browse Server

Posted: Fri Feb 06, 2009 6:49 am
by mickeyunderscore
I do something similar on the system I'm currently building, I have a page where members can login and browse a directory structure of PDFs. For this I used the glob() function: http://uk2.php.net/glob

If you only want to output the contents of one folder then this will be a very easy way of doing it.