What I'm trying to do is upload to megavideo using a php script. But they process the upload using flash. Is there a way around? Here is my script so far... <?php $postData['action'] = "submit"; $postData['tags'] = "Test"; $postData['title'] = "Test"; $postData['language'] = "1"; $postData['message'] = "Test"; $postData['channels'] = "1;"; $postData['file'] = "@test.avi"; $postData['private'] = "1"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.megavideo.com/?c=upload"); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.9"); curl_setopt($ch, CURLOPT_COOKIE, "removed"); curl_setopt($ch, CURLOPT_POST, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS, $postData); curl_setopt($ch, CURLOPT_REFERER, "http://www.megavideo.com/?c=upload"); curl_exec($ch); curl_close($ch); ?> PHP:
Hey Kaizoku, im also making an video streaming website. You might be able to packet log and find if the flash file uses a PHP script. Please get in touch with me, (MSN Messenger) maybe we can help eachother out?