Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $username = "myemail@example.com";
- $password = "mypassword";
- $url='https://www.lendingclub.com/account/login.action?login_email='.$username.'&login_password='.$password;
- $agent= 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36';
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_VERBOSE, true);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- curl_setopt($ch, CURLOPT_URL,$url);
- $result=curl_exec($ch);
- $httpcode = curl_getinfo($ch,CURLINFO_HTTP_CODE);
- var_dump($httpcode);
- var_dump($result);
- return;
- int(200) string(32454) "
- This website does not support this version of Internet Explorer. Please upgrade to the latest version for a better experience. Upgrade Now
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement