PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Jim
Forum Contributor
Posts: 238 Joined: Fri Apr 19, 2002 5:26 am
Location: Near Austin, Texas
Post
by Jim » Tue Jun 11, 2002 2:05 pm
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!
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Tue Jun 11, 2002 2:56 pm
very simple
<input type="file" name="whatever"/>
Jim
Forum Contributor
Posts: 238 Joined: Fri Apr 19, 2002 5:26 am
Location: Near Austin, Texas
Post
by Jim » Tue Jun 11, 2002 3:06 pm
Something inside me hates how easy that is...
The other part loves it
Thanks!!!
Jim
Forum Contributor
Posts: 238 Joined: Fri Apr 19, 2002 5:26 am
Location: Near Austin, Texas
Post
by Jim » Tue Jun 11, 2002 3:47 pm
Now the question...
How do I only allow certain file types to be uploaded?
*edit*
Gonna try eregi();
WML!