G'day,
Our web-host just upgraded to PHP v4.2.3 (from v4.1.2) and broke all of our
forms that use array variables.
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.
Can anyone suggest a workaround?
Thanks,
Chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP] Problem with array variables in forms Chris Pudney
- Re: [PHP] Problem with array variables in forms Chris Pudney