[wp-hackers] RE: wp-hackers Digest, Vol 43, Issue 24

Otto otto at ottodestruct.com
Mon Aug 18 15:37:53 GMT 2008


On Fri, Aug 15, 2008 at 8:01 AM, Mike Walsh <mike_walsh at mindspring.com> wrote:
> I was not aware of Snoopy but it looks like it will do what I want, thanks
> for the pointer.
>
> So I reconfigured my class to use Snoopy instead of cURL and it too works in
> my dev environment but fails in production with a timeout.  I am guess that
> GoDaddy (I am starting to agree with Matt who said their Windows PHP support
> useless) requires a proxy of some sort to use fsockopen().  Of course, there
> is nothing in their help pages about fsockopen() other than a statement
> which says it is supported.
>
> Mike

For the newer WP 2.7 and up, you might want to look at the new HTTP
functions that are built in. wp-includes/http.php. wp_remote_get,
wp_remote_post, etc. These are the sane ways to go in the future, as
they will automatically detect and support five different ways of
doing stuff, sparing you all the trouble.

-Otto


More information about the wp-hackers mailing list