CURL unexpected T_STRING
hey so i have this page that im going a CURL POSTing some info to another site of mine, but i have a error and usually good at php but i cant find any error.

the error: 

Parse error: syntax error, unexpected T_STRING in /home/aaran/public_html/tests/will/1.php on line 13

(thats the line with the CURLOPT_POSTFIELDS on.

the script:

    <?php
    foreach($_GET as $key => $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";
    ?>


hope you can help.. thanks!

CURL unexpected T_STRING
===

hey so i have this page that im going a CURL POSTing some info to another site of mine, but i have a error and usually good at php but i cant find any error.

the error: 

Parse error: syntax error, unexpected T_STRING in /home/aaran/public_html/tests/will/1.php on line 13

(thats the line with the CURLOPT_POSTFIELDS on.

the script:

    <?php
    foreach($_GET as $key => $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";
    ?>


hope you can help.. thanks!
