On Sat, 2008-11-22 at 08:30 -0800, idan72 wrote: > I would like to write code where the user will input directory name. > I want it to be able to browse to directory and choose it. > > With HTML if can only choose file. > > Can I do that in PHP ? > > Thanks > > -- > View this message in context: http://www.nabble.com/Hi%2C-tp20637953p20637953.html > Sent from the PHP - General mailing list archive at Nabble.com. > > Yes, look at the PHP file functions, like readdir(), etc. Also, make sure you consider the possible security problems with this approach. Potentially, you could have people enter URLs like ../../ to access directories two levels down, which is real bad. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php