PHP works fine, curl needed!! "; if($resultArray['http_code'] == "200"){ echo "
OK! posted to http://twitter.com/".$username."/
"; } else { echo "eek! yegads! error posting to Twitter"; } // debug the result // echo "
";
    // print_r($resultArray);
    // echo "

"; // $sResult = htmlentities($result); // $sResult = str_replace("><",">
<",$sResult); // echo "
";
    // print $sResult;
    // echo "
"; } postToTwitter("myusername","mypassword",$song['combine']); ?>