salve ragazzi io vi disturbo sempre avrei bisognio di un vostro aiuto vi spiego io ho fatto una mailinglist adesso il form d iscrizione invia dati a questo send.php questo files in automatico spedisce l e-mail e in piu manda il messaggio di risposta adesso io vorrei inviare nel mess di auto risposta un link dove cliccandolo appare la conferma con nome e e-mail sosa si puo fare lo script che uso per l invio e questo inpoche parole dovrebbe creare un altra pagina cosa posso fare?lo script che uso e questo
Codice PHP:
<?
$adminaddress = "info@xxxxxx.com";
$siteaddress ="http://www.xxxxxx.com";
$sitename = "xxxxxx";
//No need to change anything below ...
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
// Gets the POST Headers - the Flash variables
$action = $HTTP_POST_VARS['action'] ;
$email = $HTTP_POST_VARS['email'] ;
$name = $HTTP_POST_VARS['name'] ;
$comments = $HTTP_POST_VARS['comments'] ;
$telefono = $HTTP_POST_VARS['telefono'] ;
$oggetto = $HTTP_POST_VARS['oggetto'] ;
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action == "send") {
//
mail ("$adminaddress","informazioni",
"Il visitatore ha lasciato le seguenti informazioni \n
Name: $name
Email: $email\n
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$email" ) ;
//This sends a confirmation to your visitor
mail ("$email","Re:",
"Salve $name,\n
abbiamo ricevuto il suo messaggio e presto sarà contattato.\n
Saluti dallo Staff di $sitename
By
$siteaddress","FROM:$adminaddress ") ;
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you. You will receive a confirmation email shortly.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo $send_answer;
} //
?>