advanced user verification
With this simple tutorial instead of sendind a simple email verification, u can send an advanced on with all the things you want..
Find on register.php this code:
PHP Code
mail("$email", "Member-Ship Validation", "Thank you for registering on $sitename.
Please copy the below link into you address bar,
$link", "From: Site Verification");
and replace it with this:
PHP Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// multiple recipients
$to = '$email' . ', '; // note the comma
// subject
$subject = 'User Confirmation';
// message
$message = "
<html>
<head>
<title>Confirm</title>
</head>
<body>
Thanks for registering on $sitename!<br>
Active your User going on this link:!<br>
$link<br>
</body>
</html>
";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: $email' . "\r\n";
$headers .= 'From: youremail' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
you can modify the html to be siutable for your user system