Page 1 of 1

"Browsing" for Files

Posted: Tue Jun 11, 2002 2:05 pm
by Jim
Does anyone know where to find information on how to create one of those popup boxes that lets you look through your computer for a file?

Better yet, if you know how, feel free to tell me ;) Thanks guys!

Posted: Tue Jun 11, 2002 2:56 pm
by volka
very simple ;)
<input type="file" name="whatever"/>

Posted: Tue Jun 11, 2002 3:06 pm
by Jim
Something inside me hates how easy that is...

The other part loves it :D Thanks!!!

Posted: Tue Jun 11, 2002 3:47 pm
by Jim
Now the question...

How do I only allow certain file types to be uploaded?

*edit*

Gonna try eregi();

WML! :)