Suspicious sign in prevented from my php client
-
I'm using php to try access Google web master tools but its now emailing me about a Suspicious sign in prevented. How can I get round this in a way that it wont effect the security of my account?
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://accounts.google.com/ServiceLogin");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);$data = array('accountType' => 'GOOGLE',
'Email' => 'xxx@gmail.com',
'Passwd' => '***',
'source'=>'PHI-cUrl-Example',
'service'=>'lh2');curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);$hasil = curl_exec($ch);
echo $hasil;
?
-
This post is deleted!