#24007 [NEW]: some get global variables not registering
| From: | gateschris at yahoo dot com | Date: | Wed, 04 Jun 2003 05:04:38 +0000 |
| Subject: | #24007 [NEW]: some get global variables not registering | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41101@lists.php.net to get a copy of this message | ||
From: gateschris at yahoo dot com
Operating system: Linux version 2.2.19
PHP version: 4.3.2
PHP Bug Type: Scripting Engine problem
Bug description: some get global variables not registering
when performing a post in a form, if the url contains a variable of the
form name[key]=value, and php has register_globals enabled, the name/key
is not registered.
example form:
<form enctype="multipart/form-data" method="post"
action="test.php?name[key][key2]=value">
<input name="name[key][key3]" value="value" type="hidden">
</form>
example php:
<?
print_r($name);
?>
with register_globals on, this script will only remember the
name[key][key3] and not the name[key][key2], please note that i have not
tested this script, its just a summary of what i have found in a much
larger script, and ive already reverted back to an older version of php
and im to lazy to try it on another machine.
--
Edit bug report at http://bugs.php.net/?id=24007&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24007&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24007&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24007&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24007&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24007&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24007&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24007&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24007&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24007&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24007&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24007&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24007&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24007&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24007&r=gnused