input type=file

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

Post Reply
fatabien
Forum Newbie
Posts: 4
Joined: Mon May 05, 2003 9:30 am

input type=file

Post by fatabien »

I want to get the name of the file which is to be loaded, in order to write it in a textarea. but I don't know how to do.
Maybe with some javascript ?
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

If you want to set the default text in the text box,

Code: Select all

<TEXTAREA>
STUFF YOU WANT HERE!
</TEXTAREA>
Post Reply