kyma — 2011-08-17T08:42:40-04:00 — #1
I'm using an Ajax file uploader to upload to a PHP script. All I want the PHP script to do is forward on the uploaded image to my user's Facebook account.
To do this, all I need to do is POST the image to a Facebook url (using Curl).
Will I need to save the image on my server, then use Curl to move it,(deleting it afterwards) or can I use Curl to move the upload straight into a POST request without saving it?
tgavin — 2011-08-17T12:45:21-04:00 — #2
You need to upload it to the server first.
kyma — 2011-08-17T13:15:44-04:00 — #3
Ok, thanks. I was just concerned that there might be a faster way, but it seems fine like that anyway