Moving File with Curl

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?

You need to upload it to the server first.

Ok, thanks. I was just concerned that there might be a faster way, but it seems fine like that anyway