title: Php Curl adding Params
body: <p>Im a newbie im trying to get a script to trigger another script with Curl in PHP but it dosent seem to be sending the paramaters.</p>
  
  <p>Is there a seperate function to append parameters?</p>
  
  <pre><code>&lt;?php
  $time = time();
  $message = "hello world";
  
  
  $urlmessage =  urlencode( $message );
  
  $ch = curl_init("http://mysite.php?message=$urlmessage&amp;time=$time");
  
  curl_setopt($ch, CURLOPT_HEADER, 0);
  
  curl_exec($ch);
  curl_close($ch);
  ?&gt;
  </code></pre>
  
  <p>Could anyone point me in the right direction??</p>