browsing files & posting them!

truespin

New Member
I want to create some script that allows a user to click on a link that will pop up one of those file browse windows that would allow the user to select a certain file from their hard drive/disk and then post that file to me! Oh yeah and it's got to work on PC & Mac!
Any takers?
Muchos thanx
/ Simon
 

Serj HAMMER

Junior Racer
How to call pop-up

Hello, truespin!

I can tell You only half of answer.
To will You pop up one of those file browse windows that would
allow the user to select a certain file from their hard drive/disk
You shold use

<input name="file_upload" type="file" size=28>
(for browser >=3.0 or 4.0. I forget it...)

But I don't know how You post this file to You.
Try to look SRC of HTML-pages at Web-mail servers
(I get this code from www.chat.ru) and may be You see js-function,
that attached file to the sending form content.

P.S. In this case it is not link. It is fill-in + button "Browser".
 
Top