I have recently added a login system to a site i'm doing and i'm stuck on something thats getting quite annoying!
The user registers then gets an email with an link to follow to activate the account.
The problem is the $link in the email is just text and not a hyperlink.
// Send the email: $link = BASE_URL . 'activate.php?x=' . urlencode($e) . "&y=$a"; $message = "<p align'center'>Hello, $fn</p><p>To Continue registration please follow this link</p> "; $message .= "\n\n"; $message .= $link; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: admin<email@example.com>\r\n"; $headers .= "Return-path: admin<firstname.lastname@example.org>\r\n"; mail($trimmed['email'], 'Registration Confirmation', $message, $headers); // Finish the page:
Any help would be great!