...

View Full Version : $_GET array



Phil Jackson
09-13-2009, 02:05 PM
Hellllloooooooo.

im using the following code:



$defaults = array("Disk Space", "Bandwidth", "Sub Domains", "Additional FTP Accounts", "MySQL Databases", "Email Forwarding", "Auto Responders", "Email Distribution Lists", "Mail Boxes", "Operating System", "One-click Installation Apps");
$cost = 0;
foreach($_GET as $feature)
{
if(!in_array($feature, $defaults))
{
echo $feature;
}
}


im getting a variable back that i havn't set. Im using AJAX for this request. Anyone know where its coming from?

array being: (1st one not mine)



Array ( [_] => 1252843210115 [diskSpace] => 500 MB [bandwidth] => 200 MB/month [subDomains] => 7 [additionalFTP] => 2 [mysqlDatabases] => MySQL Databases [emailForwarding] => Email Forwarding [AutoResponders] => Auto Responders [emailDistributionLists] => 10 [mailBoxes] => Mail Boxes [operatingSystem] => Operating System [oneClick] => One-click Installation Apps )

funnymoney
09-13-2009, 03:14 PM
how does your ajax request look like (js part)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum