TalkVirginia
03-18-2011, 09:01 PM
I seem to be having an issue with getting sanatized variables back out when using code like the following:
$myArray = $vbulletin->GPC['myArray']; //This one causes an invalid parameter when passed to a foreach.
$myArray = $_POST['myArray']; // This works fine.
Is this correct, or am I going nuts? lol I've been reading in the vbulletin manual that it is recommended not to use POST unless you use it with 'do'.
Any thoughts? Could it be something on my web server?
Thanks
$myArray = $vbulletin->GPC['myArray']; //This one causes an invalid parameter when passed to a foreach.
$myArray = $_POST['myArray']; // This works fine.
Is this correct, or am I going nuts? lol I've been reading in the vbulletin manual that it is recommended not to use POST unless you use it with 'do'.
Any thoughts? Could it be something on my web server?
Thanks