title: Send request parameters when calling a PHP script via command line
body: <p>When you run a PHP script through a browser it looks something like</p>
  
  <pre><code>http://somewebsite.com/yourscript?param1=val1&amp;param2=val2.
  </code></pre>
  
  <p>I am trying to achieve the same thing via command line without having to rewrite the script to accept <code>argv</code> instead of <code>$_REQUEST</code>. Is there a way to do something like this:</p>
  
  <pre><code>php yourscript.php?param1=val1&amp;param2=val2 
  </code></pre>
  
  <p>such that the parameters you send show up in the <code>$_REQUEST</code> variable?</p>