php_http.dll

Hi All,

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

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


<?php
$url="http://10.150.3.12:8090/cbin/cpsmssubscription?KEYWORD=USAGE&MESSAGE=INET&MSISDN=260978980465";
$request = new HttpRequest($url,HttpRequest::METH_GET);
$resp = '';
$code = '';
try {
    $request->send();
	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

http://192.168.5.71/index.php?test=num&num=260978090475
, 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: http://php.net/manual/en/install.pecl.windows.php