Jump to content
xisto Community
Ola Daniel

File Upload With AJAX File upload with xmlhttprequest ...

Recommended Posts

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:

Share this post


Link to post
Share on other sites

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. :unsure: 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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.