Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ch = curl_init('https://www.forever21.com/Login/Login.aspx?br=f21');
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch,CURLOPT_POST,1);
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE);
- curl_setopt($ch,CURLOPT_POST,TRUE);
- curl_setopt($ch,CURLOPT_FOLLOWLOCATION,TRUE);
- curl_setopt($ch,CURLOPT_COOKIEFILE, "$config");
- curl_setopt($ch,CURLOPT_COOKIEJAR, "$config");
- curl_setopt($ch,CURLOPT_POSTFIELDS,"UserName=$email&ctl00%24MainContent%24LoginForm%24Password=$pass");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- $result = curl_exec($ch);
- echo "$result";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement