Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.4

Bug #8213 Warning: gzinflate() data error in C:\AppServ\php\PEAR\HTTP\Request.php on line
Submitted: 2006-07-14 05:25 UTC
From: jun dot ma at csiro dot au Assigned: avb
Status: Closed Package: HTTP_Request (version 1.3.0)
PHP Version: 5.1.4 OS: Windows server 2003
Roadmaps: (Not assigned)    
Subscription  


 [2006-07-14 05:25 UTC] jun dot ma at csiro dot au (jun ma)
Description: ------------ http request gives the following warning message, and the echo $response1 does not work. Warning: gzinflate() [function.gzinflate]: data error in C:\AppServ\php\PEAR\HTTP\Request.php on line 1060 Test script: --------------- $req = &new HTTP_Request("http://www.votapedia.com/index.php?"); $req->setMethod(HTTP_REQUEST_METHOD_POST); $req->clearCookies(); $req->addQueryString('title', 'Special:Userlogin'); $req->addQueryString('action', 'submitlogin'); $req->addQueryString('type', 'signup'); $req->addPostData('wpName', $userName); $req->addPostData('wpPassword', $password); $req->addPostData('wpRetype', $password); $req->addPostData('wpEmail', $email); $req->addPostData('wpRealName', $realName); $req->addPostData('wpCreateaccount', 'Create account'); $req->sendRequest(); $response1 = $req->getResponseBody(); echo $response1; Expected result: ---------------- echo the response page from the server. Actual result: -------------- http request gives the warning message, and the $response1 is not echoed.

Comments

 [2006-10-08 11:08 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-10-24 20:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!