I'm trying to login to Megaupload.com. They recently changed their page so the login form submits through javascript and I'm not sure how to circumnavigate that. Here's my code: $loginurl = 'http://www.megaupload.com/?c=login'; $logincontent = array (); $logincontent['username'] = 'al_2323'; $logincontent['password'] = 'mypassword'; $ch = curl_init (); curl_setopt($ch, CURLOPT_URL, $loginurl); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt ($ch, CURLOPT_POSTFIELDS, $logincontent); curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookiemu.txt'); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $store = curl_exec ($ch); Code (markup): Thanks.