[wp-hackers] Preferred method of fetching remote webpage?

Rob Miller r at robm.me.uk
Thu Jun 22 20:13:27 GMT 2006


Jason Salaz wrote:
> On 6/22/06, Viper007Bond <lists at viper007bond.com> wrote:
>> However, should I be using Snoopy or something for this? I mean, is
>> there any drawback to using fsockopen?
>
> remote fsock open can be disabled by the server admin.
> curl can possibly not exist (but should be used as a fallback, or
> maybe as the primary with fsock as the fallback).
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
This would be what I do :) I use Snoopy with cURL as a fallback since 
the former almost always works and in cases where it has been disabled 
the latter is usually available.

-- 
Rob Miller
http://robm.me.uk/ | http://kantian.co.uk/



More information about the wp-hackers mailing list