When my PHP script runs, I would like to run a link like this server side:

http://77.33.xx.xx/s/addtoqueue.php?action=store&amp;filename=myprettypicture&amp;link=http://i69.servimg.com/u/f69/13/29/70/44/facebo10.png


Im doing this for storing the images on a own separate images server. The link is adding the image to a queue.

How can I execute this link correct?

I did this so far:

$link = 'http://77.33.xx.xx/s/addtoqueue.php?action=store&amp;filename='.$filename.'&amp;link=$link;


But dont know how to run this?

And would it by the way be smart to urlencode() and urldecode() the $link?


Question: S3-compatible Object Storage systems
Answer: I am sure you got so many options above still you should check OpenStack Swift,
its a OpenSource Object Storage and also supports S3 compatible API. Its used as object storage solution for Rackspace, Hpcloud Korea Telecom and many others.

Documentation http://docs.openstack.org/developer/swift/associated_projects.html
Swift3 https://github.com/fujita/swift3
Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.

Hope it helps.