ID: 28312 Updated by: [EMAIL PROTECTED] 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
