title: CURL unexpected T_STRING
body: <p>I have this page that I'm going a CURL POSTing some info to another site of mine, but I have a error and I can't find the cause.</p>
  
  <p>The error: </p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected T_STRING in /home/aaran/public_html/tests/will/1.php on line 13</p>
  </blockquote>
  
  <p>(that's the line with the CURLOPT_POSTFIELDS on).</p>
  
  <p>Here's the URL to see the script: <a href="http://hm.vc/tests/will/1.php" rel="nofollow noreferrer">http://hm.vc/tests/will/1.php</a></p>
  
  <p>The script:</p>
  
  <pre><code>&lt;?php
  foreach($_GET as $key =&gt; $value){
      $input[$key] = urldecode(strip_tags($value));
  }
  
  $secureurl = "http://hm.vc/tests/will/2.php";
  
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_URL, $secureurl);
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($curl, CURLOPT_POST, 1);
  curl_setopt($curl, CURLOPT_POSTFIELDS, $input);
                  
  $hello = curl_exec($curl);
  
  curl_close($curl);
  
  
  echo "Hi " . $input['name'] . ", Thanks for blah blah blah blah";
  ?&gt;
  </code></pre>