Re: Can PHP be used to snatch images cross-domain?
| From: | Jan Kaštánek | Date: | Wed, 17 Dec 2008 09:08:23 +0000 |
| Subject: | Re: Can PHP be used to snatch images cross-domain? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284720@lists.php.net to get a copy of this message | ||
Chris:
>
> curl can handle timeouts much better (file_get_contents will timeout when
> the server on the other end says so).
If you use stream context, you can set timeout to file_get_contents() as well.
--
toby
http://toby.cz/