title: How to automatically send GET data from a php script
body: <p>I've got a php script and I want to call another php script from within it which logs data.</p>
  
  <p>Problem is I need to send variables and <code>include ('log.php?log=a&amp;dob=fromtest');</code> is not working as it's saying the script is not found. If I take the variables out then the script is found no problem.</p>
  
  <p>What's the proper way to do this?</p>