Zachafer
04-07-2012, 02:14 PM
function hotmailExists($email)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "[Only registered and activated users can see links]");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_COOKIE, "MSPMemberExists=$email");
$response = curl_exec($ch);
curl_close($ch);
return stripos($response, "MSPMemberExists=MemberExists") !== false;
}
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "[Only registered and activated users can see links]");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_COOKIE, "MSPMemberExists=$email");
$response = curl_exec($ch);
curl_close($ch);
return stripos($response, "MSPMemberExists=MemberExists") !== false;
}