Jump to content

Upload a file without using a form.


Jessica

Recommended Posts

If the user enters the string of where the file is on their computer:
C:\Documents and Settings\user\My Documents\image.jpg

How can I upload it to the server without using a form like I would normally?

What I am trying to achieve is an ajax image upload form, like the one on TheDailyPlate.com
(see: http://www.thedailyplate.com/food-nutrition/food/generic/mashed-potatoes
click on Contribute a photo of this item! - Don't actually do it, but that is what I mean. It uploads the image without refreshing the page.)

Thanks!
Link to comment
https://forums.phpfreaks.com/topic/30300-upload-a-file-without-using-a-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.