title: how do get php to open a page?
body: <p>I am attempting to open a specified page automatically upon loading a PHP page, but not by means of redirecting, is file_get_contents suitable for this? Also I have tried curl with the following, however  I do not see any responses:</p>
  
  <pre><code>curl_setopt($ch=curl_init(), CURLOPT_URL, "http://www.google.com");
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  $response = curl_exec($ch);
  curl_close($ch);
  </code></pre>
  
  <p>many thanks in advance</p>