Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: $_GET array

  1. #1
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,555
    Thanks
    57
    Thanked 148 Times in 147 Posts

    $_GET array

    Hellllloooooooo.

    im using the following code:

    PHP 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)

    Code:
     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 )

  • #2
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    how does your ajax request look like (js part)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •