I have run into a strange problem trying to send a link with an email using php. This link will simply bring a user to an "Update Password" form. However, when I click the link it brings me to a blank page in my browser called "about:blank". I don't really understand why this is happening... Here is my code: The html for the link is inside the $msg variable.
$to = $email;
$msg = "Hello $username, your pin # is $pin. Please remember this pin
because you will need it on the update password form. <br>
Please <a href = \"google.com\">click here</a> to be brought to the update password form.";
$header = 'MIME-Version: 1.0' . "
";
$header .= 'Content-type: text/html; charset=iso-8859-1' . "
";
$header .= 'From: ForgottenPassword@PHPGang.com' . "
" .
'Reply-To: ForgottenPassword@PHPGang.com' . "
" .
'X-Mailer: PHP/' . phpversion();
mail($to,"Forgotten Password",$msg,$header);
I even tried putting google.com as the destination, but it still brings me to that pesky about:blank page. Any ideas?