Nov 21, 2009

File Upload With AJAX - File upload with xmlhttprequest ...

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > JavaScript

File Upload With AJAX - File upload with xmlhttprequest ...

Ola Daniel
Does anyone know how to upload files from client to server machine using AJAX.

I would appreciate some sample codes. Im trying to use AJAX to upload an attachment from a client to my server.

unsure.gif

Comment/Reply (w/o sign-up)

seec77
In addition to Javascript (and AJAX) you need to know a little bit of PHP to create a web page that receives the uploaded file and saves it to the web server. The other way would be WebDAV but that's going into very complex and largely uncharted territory and I would not suggest it. tongue.gif Sorry, but that's all the advice I can give you right now without opening up my programming section of the brain. If you want I'll write the PHP script for you so you can just try to write the Javscript part.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)


See Also,

*SIMILAR VIDEOS*
Searching Video's for file, upload, ajax, file, upload, xmlhttprequest
advertisement



File Upload With AJAX - File upload with xmlhttprequest ...

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com