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
sweahe
Forum Commoner
Posts: 52 Joined: Sat May 04, 2002 4:07 am
Location: Växjö, Sweden
Post
by sweahe » Sun Apr 13, 2003 6:31 pm
For file uploads, is it possible to change the ordinary browse button to be an image?
Code: Select all
<input name="userfile" type="file">
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Mon Apr 14, 2003 5:34 pm
it can be done with javascript.
check out the source @
this site .
sweahe
Forum Commoner
Posts: 52 Joined: Sat May 04, 2002 4:07 am
Location: Växjö, Sweden
Post
by sweahe » Tue Apr 15, 2003 12:10 pm
Where? Couldn't find an upload <input... on that page, can you specify where I find it?
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Tue Apr 15, 2003 12:37 pm
afaik the button of an <input type="file">-element is immune to styling in common browsers