Can PHP be used to snatch images cross-domain?

From: Date: Wed, 17 Dec 2008 02:29:21 +0000
Subject: Can PHP be used to snatch images cross-domain?
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-284712@lists.php.net to get a copy of this message
If I have a php script on my own server, can it be used to snatch a JPEG image off of another server on a different domain and upload it to my server? For example, could I provide an URL to an image on another server and a path on my own server in which to place it? I know in the world of Ajax, I could run into cross-domain security issues, but I'm wondering if I can get around that with PHP.

« previous php.general (#284712) next »