cookie str_replace dirname __FILE__ cookies txt url https www imeem co

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
$cookie = str_replace('\\', '/', dirname(__FILE__)) . '/cookies.txt';
$url = "https://www.imeem.com/login";
$ua = "Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)";
$ch = curl_init();
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch,CURLOPT_POSTFIELDS,"__VIEWSTATE=%2FwEPDwULLTE0NzUzNTc5NTgPZBYCZg9kFgoCAQ8PFgIeC05hdmlnYXRlVXJsBR1odHRwczovL3d3dy5pbWVlbS5jb20vc2lnbnVwL2RkAgIPZBYCAgIPDxYCHgdWaXNpYmxlaGRkAgMPDxYCHwFoZGQCCg8PFgIfAWhkZAILD2QWB AIDD2QWAgIGDxYCHwFoFgRmD2QWBAIBDw8WAh8BaGRkAgYPDxYCHwFoZGQCAQ9kFgRmDw8WAh8BaGRkAgEPDxYCHwFoZGQCBA9kFgQCAg9kFgICBQ9kFgICAQ9kFgICAQ8PZBYCHgVzdHlsZQXIAWN1cnNvcjpwb2ludGVyO2NvbG9yOiNGRkZGRkY7YmFja2dyb3VuZC1jb2xvcjojNTA1MDUwO2ZvbnQtd2VpZ2h0OmJvbGQ7cGFkZGluZzozcHg7Zm9udC1zaXplOjEwcHQ7YmFja2dyb3VuZC1pbWFnZTp1cmwoJ2h0dHBzOi8vcmVzb3VyY2VzLXAxLmltZWVtLmNvbS9yZXNvdXJjZXMvdmVyc2lvbmVkLzEvZ3JhcGhpY3MvdHJhbnNwYXJlbnQuZ2lmJyk7ZAIDD2QWAgICD2QWAgIND2QWBmYPEA8WAh4LXyFEYXRhQm91bmRnZB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2FwICpo3NogsCi6bfuwYCi6bL3g4Ci6bntwwCi6bT2gQCi6bPgQ0Ci6a7pAYCi6aXyw4Ci6aD7gcCi6b%2FkggCi6bruQEC8L%2F9zgMC8L%2Fp9QQC8L%2BFzQkC8L%2Fx8QIC8L%2FtlAsC8L%2FZuwwC8L%2B13gQC8L%2BhhQ0C8L%2BdqAYC8L%2BJzw4C1dCb5AkC1dD3iAIC1dCj4AcC1dCfhwgC1dCLqgEC1dDnzgkC1dDT9QIC1dDPmAsC1dC7vwwC1dCX4gQCuuq5%2BwcCuuqVnggCuurB9w0Cuuq9mgYCuuqpwQ4CuuqF5AcCuurxiAgCuurtrwECuurZ0gkCuuq1%2BQICn4PGjg0Cn4OytQYCn4PuigsCn4PasQwCn4O21AQCn4Oi%2Bw0Cn4OengYCn4OKxQ4Cn4Pm6QcCn4PSjAgChJTkpQsChJTQyAMChJSMoAEChJT4xAkChJTU6wIChJTAjgsChJS8tQwChJSo2AQChJSE%2Fw0ChJTwowYC6a2CuwEC6a3%2B3wkC6a2qtw8C6a2G2gcC6a3y%2FggC6a3upQEC6a3ayAkC6a227wIC6a2ikgsC6cyYmgkCpazVwgEC6JzOkg8Cmq%2BVqQQCza7Y8g5Pbs98ruTLVGrgQ08rY8Rv3X9heQ%3D%3D&ctl00%24ContentPlaceHolder1%24TextBoxEmail=".username."&ctl00%24ContentPlaceHolder1%24TextBoxPassword=".password."&ctl00%24ContentPlaceHolder1%24KeepLoggedInBox=on&ctl00%24ContentPlaceHolder1%24LoginButton=Login&ctl00%24ContentPlaceHolder1%24ctl00%24TextBoxFirstName=First&ctl00%24ContentPlaceHolder1%24ctl00%24TextBoxLastName=Last&ctl00%24ContentPlaceHolder1%24ctl00%24TextBoxEmail=An+email+verification+will+be+sent+here&ctl00%24ContentPlaceHolder1%24ctl00%24TextBoxPassword=%285-10+characters%29&ctl00%24ContentPlaceHolder1%24ctl00%24BirthdayPicker%24MonthSelect=Month&ctl00%24ContentPlaceHolder1%24ctl00%24BirthdayPicker%24DaySelect=Day&ctl00%24ContentPlaceHolder1%24ctl00%24BirthdayPicker%24YearSelect=Year&ctl00%24ContentPlaceHolder1%24ctl00%24GenderRadioList=Male&ctl00%24ContentPlaceHolder1%24ctl00%24CheckBoxTerms=on");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
echo "u=$username&p=password&k=true";
$result = curl_exec($ch);
curl_close ($ch);