[wp-hackers] Preferred method of fetching remote webpage?
r at robm.me.uk
Thu Jun 22 12:48:30 GMT 2006
> I've been using this bit of code in a plugin I wrote:
> However, should I be using Snoopy or something for this? I mean, is
> there any drawback to using fsockopen?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
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.
http://robm.me.uk/ | http://kantian.co.uk/
More information about the wp-hackers