[thelist] doing http requests using php (without curl?)

Simon Willison simon at incutio.com
Wed May 22 15:32:00 CDT 2002


At 16:34 22/05/02 +0100, you wrote:
>i am trying to carry out a http POST request in the middle of a php
>script. this is without using curl as i'm on a shared server.
>
>basically, i need the functionality of HTTP::Request (perl) in php.
>
>any ideas? i hope i'm just overlooking a simple function that allows me
>to do this.

I recommend Snoopy - it's a PHP class for making HTTP requests (both POST
and GET) that doesn't rely on any external libraries. It's a very well
written piece of code and I've used it for a variety of purposes in the past.

http://snoopy.sourceforge.net/

Regards,

Simon




More information about the thelist mailing list