hello,
i keep getting this error
Fatal error: Class 'HttpRequest' not found
when i try to do a HTTP request.
I have browsed the internet for solutions to this problme and none of them work.
I enabled the following line in the php.ini
extension=php_http.dll
I made sure the dll exists in the correct extension folder then i restarted apache.
I am still getting the same error, the code i am executing is
<?php
$r = new HttpRequest('www.myurl.com', HttpRequest::METH_POST);
$r->addPostFields (
array (
'name' => 'Johny The Stinking Donkey'
)
) ;
$r->send ();
?>
any suggestions would be great thanks for reading this.
Dave
;