Re: Problem with array variables in forms

From: Date: Tue, 18 Feb 2003 14:31:53 +0000
Subject: Re: Problem with array variables in forms
Groups: php.general 
Request: Send a blank email to php-general+get-136008@lists.php.net to get a copy of this message
G'day,
It appears that when the URL contains square brackets (i.e. %5B and %5D instead of [ and ]) then PHP doesn't parse the variables correctly. For example, <http://www.offloadonline.com/test.php?personal[name]=john&personal[email]=john%40blah.com> works (you might need to paste the URL into your browser) but <http://www.offloadonline.com/test.php?personal%5Bname%5D=john&personal%5Bemail%5D=john%40blah.com> fails.
Appears to be a known bug. Rewrote my scripts to us $_REQUEST[] Chris.

« previous php.general (#136008) next »