From:             emad_fankoosh at hotmail dot com
Operating system: Windows NT
PHP version:      4.3.4
PHP Bug Type:     Variables related
Bug description:  Post Variables Error

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 bug report at http://bugs.php.net/?id=28312&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28312&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28312&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28312&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28312&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28312&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28312&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28312&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28312&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28312&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28312&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28312&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28312&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28312&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28312&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28312&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28312&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28312&r=float

Reply via email to