Changed url email. Now default to PHP built-in serve
r
This commit is contained in:
parent
0b10b5ebb1
commit
a6b5fb833b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if (isset($_POST['register'])) {
|
|||
$ris = @mysqli_query($conn, $query) or die('Errore');
|
||||
|
||||
$message = "Benvenuto!\r\nPer registrarti, vai al link:\r\n\r\nhttp://"
|
||||
.'phpinfo.localhost/sito/register.php?tok='.htmlspecialchars($tok)
|
||||
.'localhost:'.$_SERVER['SERVER_PORT'].'/register.php?tok='.htmlspecialchars($tok)
|
||||
.'&user='.htmlspecialchars($usr);
|
||||
mail($email, 'Registrati', $message);
|
||||
|
||||
|
|
Reference in a new issue