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

Viper007Bond lists at viper007bond.com
Thu Jun 22 14:12:19 GMT 2006

Ah, okay then. I'll stick to my current stuff as it's already coded and 
it logs and errors internally. :)


Rob Miller wrote:
> Viper007Bond wrote:
>> I've been using this bit of code in a plugin I wrote:
>> http://viper007bond.pastebin.com/724979
>> However, should I be using Snoopy or something for this? I mean, is 
>> there any drawback to using fsockopen?
>> -Viper
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> Snoopy itself just uses a socket and creates its own HTTP request, so 
> the only thing "wrong" with doing that too is that you'd be reinventing 
> the wheel somewhat.
> If you don't mind the extra effort then it's fine - there are no 
> portability or performance issues, at least none that wouldn't also 
> apply to Snoopy.

More information about the wp-hackers mailing list