Thursday, April 19, 2012

Uploading an image which is within <img> tag to server

Can I upload an image to my web server. I know that, If I have file input in my web page, then I can easily upload it and get it like $_FILE["name"] at my server(PHP). But I am developing a web page for iPad which doesn't expose the file system. But later, this will be handled by using phone gap. But now for the demo sake, I want to show that upload works. So, now assume that I have the path to a file. And I have it in my web page like <img src="path" alt="">



Can I upload this to my server by any means?





No comments:

Post a Comment