title: calling exec on a php file and passing parameters?
body: <p>I am wanting to call a php file using <a href="http://nz.php.net/manual/en/function.exec.php" rel="noreferrer">exec</a>.</p>
  
  <p>When I call it I want to be able to pass a variable through (an id).</p>
  
  <p>I can call <code>echo exec("php /var/www/unity/src/emailer.php");</code> fine, but the moment I add anything like <code>echo exec("php /var/www/unity/src/emailer.php?id=123");</code> the exec call fails.</p>
  
  <p>How can I do this?</p>