Most hosting companies have cURL already installed and available rather than pecl_http. I probably should have said "try using cURL" instead of "you should be using cURL". However most FREE hosting companies probably won't even have that installed due to security concerns.
Jamie On Mon, Jul 25, 2011 at 11:16 AM, Andrew Ballard <aball...@gmail.com> wrote: > On Mon, Jul 25, 2011 at 12:26 PM, Jamie Krasnoo <jkras...@gmail.com> wrote: > [reordered and snipped] >> >> On Thu, Jul 21, 2011 at 8:52 PM, gato chalar <dany...@gmail.com> wrote: >>> Hi list, >>> >>> I need to perform http requests (GET,POST) , I have readed about pecl_http >>> package, so it seem to be what I need. Reading further I sow some ways to >>> install this package to a server where you have all rights and privilegies, >>> and that's the problem; I don't know if I will be able to install pecl_http >>> in a php hosting service. Currently I have a free php hosting account. Is >>> that posible? >>> >> You should be using cURL for making requests. > > If the pecl HTTP extension is unavailable, cURL is the next simplest > choice, but I've used HTTP when it was available and it worked just > fine. I'm curious as to your reason (other than general availability) > for stating that one *should* use cURL (as opposed to something else > like HTTP). > > Andrew > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php