Re: Can PHP be used to snatch images cross-domain?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux