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

Request #4277 $_POST['pageID'] works only with httpMethod => 'POST'
Submitted: 2005-05-04 08:28 UTC
From: mfranzil at adriaweb dot it Assigned: quipo
Status: Closed Package: Pager
PHP Version: 4.3.9 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-05-04 08:28 UTC] mfranzil at adriaweb dot it
Description: ------------ I have a form that reload an html page with Pager class. To remenber the 'actual page of Pager' I pass via post method the varible pageID. If the httpMethod is not set as 'POST' the method getCurrentPageID() returns always 1. All works fine with version 2.2.7. Reproduce code: --------------- $l_aPagerParams = array( 'mode' => 'Sliding', 'perPage' => 12, 'delta' => 2, 'totalItems' => 40, 'append' => true, 'separator' => '-', 'clearIfVoid' => true, ); if(isset($_POST['pageID'])){ $l_aPagerParams['httpMethod'] = 'POST'; }

Comments

 [2005-05-04 15:33 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!