title: How can I get all submitted form values in PHP and automatically assign them to variables?
body: <p>I'm trying to migrate a website from one host to another. On the first host, when you submit a form, all of the form values are automatically stuck into variables with the input name (this is PHP). On the new host, these values are all null unless I do this:</p>
  
  <p><code>
  $data = $_GET['data'];
  </code></p>
  
  <p>Is there a PHP configuration setting that is causing this? If there isn't, is there an easy way to loop through all of the $_GET variables and automatically assign their values to a variable with the same name?</p>
  
  <p>Thanks!</p>