3.2.0

upload button

hello,

i would like my visitors to upload their photographs to my server.

i.e; http://www.avweb.com/potw-content/upload.html

how can i implement a system like this?

thnx
ashley
August 25,
On the client (AW is a client side framework), you can do this:

fileToUpload = new Active.HTML.INPUT;
fileToUpload.setAttribute("type", "file");
fileToUpload.setId("fileUploadID");
document.write(fileToUpload);


What you do with the data on the server is entirely dependant on what language you are using to create the web page. Remember that the above code must be placed in a FORM and then submitted to the server in order for you to get the data.
Jim Hunter
August 25,

This topic is archived.

See also:


Back to support forum