#28312 [Opn->Bgs]: Post Variables Error

From: Date: Fri, 07 May 2004 14:13:54 +0000
Subject: #28312 [Opn->Bgs]: Post Variables Error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59349@lists.php.net to get a copy of this message
ID: 28312 Updated by: derick@php.net Reported By: emad_fankoosh at hotmail dot com -Status: Open +Status: Bogus Bug Type: Variables related Operating System: Windows NT PHP Version: 4.3.4 New Comment: In PHP 4.2.0, the 'register_globals' setting default changed to 'off'. See http://www.php.net/release_4_2_0.php for more info. We are sorry about the inconvenience, but this change was a necessary part of our efforts to make PHP scripting more secure and portable. . Previous Comments: ------------------------------------------------------------------------ [2004-05-07 13:21:23] emad_fankoosh at hotmail dot com Description: ------------ variables are not posted,for example, i have list which contains 200 softwares for example, the list shows the first 50, and shows on the bottom of the page [ Next >>> ] which shows the next 50 softwares[ list.php?begin=50 ] Reproduce code: --------------- http://fulldls.hostecom.com/TOPs/list.php for($i=$begin; ($total > $i) && ($max_list_size > $i) && ($i < $begin+50); $i++){ $split = explode("||", $array[$i]); echo ... --------------------------------------------------------- if ($begin >= 50) echo "<a href=\"$PHP_SELF?begin=".($begin-50)."\"><< Previous</a> - \n"; if ($begin <= $total-50) echo "<a href=\"$PHP_SELF?begin=".($begin+50)."\">Next >></a>\n"; echo "<br>"; Expected result: ---------------- shows the next 50 softwares ... Actual result: -------------- show the first 50 softwares and doesn't assign a value for the $begin variable. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28312&edit=1

« previous php.bugs (#59349) next »