getting a http_get_vars array value
| From: | Harold | Date: | Mon, 29 Nov 1999 11:13:42 +0000 |
| Subject: | getting a http_get_vars array value | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7030@lists.php.net to get a copy of this message | ||
im having difficulties with $HTTP_GET_VARS returning array values..
example url:
test.php?array[]=1&array[]=2&array[]=3
what i have tried:
echo 'array[0] = ' . $HTTP_GET_VARS[array[0]];
echo 'array[0] = ' . $HTTP_GET_VARS[$array[0]];
echo 'array[0] = ' . $HTTP_GET_VARS["array[0]"];
echo 'array[0] = ' . $HTTP_GET_VARS["$array[0]"];
echo 'array[0] = ' . $array[0];
the last one works, but i already have an array of that name.. is it
possible to get the value through a $HTTP_GET_VARS function?
using yesterdays cvs of php4b4 on apache linux..