Hi All,

i installed PHP 5.3.0 on windows XP. However, the php_http.dll is missing. Any help.

Thanks Kyber,

I was able to solve, i installed php 5.2.6 and has the package.

Hi All,

I am running the HttpRequest but i am getting an error with some URL. here below is the code

$request = new HttpRequest($url,HttpRequest::METH_GET);
$resp = '';
$code = '';
try {
	echo $code = $request->getResponseCode();
	echo $resp = $request-> getResponseBody();
} catch (HttpException $ex) {
    echo $ex;

the error i get is

exception ‘HttpInvalidParamException’ with message ‘Empty or too short HTTP message: ‘s’’ in C:\wamp\www\Data_card_ussd\pregmatch.php:7 Stack trace: #0 C:\wamp\www\Data_card_ussd\pregmatch.php(7): HttpRequest->send() #1 {main}

but when i change the URL to
, everything is perfect. i get the desired result. i have tried both URLs on the browser and they are all working. what could be the problem.

You probably have to compile it from source then: