File Upload Using Ajax+Html5+PHP


One day my senior ask me can it possible to upload a file using ajax ??
No, it isn't possible to do this with javascript.
But, yes this is possible with JavaScript now + [AJAX & HTML5].
To Download Code.. Click Here
In all File just find [NELSON DESAI] Where You can get all help in comment.
is also possible to work auto upload and also got customize response.
It's very helpful during profile picture upload. We can also pass a data in post like usre-id in hidden. and in response here we can get the uploaded url which we can add on picture block.
You can also show progress of uploading.
Actually i implemented this code in zend [From one controller to another controller using this demo]
For more details mail me on nelson.desai@gmail.com or comments here.
--
Thank You
Nelson Desai

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by NDR Group | Bloggerized by Er. Nelson Desai | Love U My Friends