salve ragazzi qual cuno saprebbe dirmi perche non mi funziona piu lo script in php per l invio delle e-mail il form e in flash e il send e in php qualcuno saprebbe dirmi perche non va preciso in un hosting funziona e nel altro dove ho registrato 5 domini non va cosa puo essere? lo script e questo
Codice PHP:
<?
$adminaddress = "info@marikwebdesigner.com";
$siteaddress ="http://www.marikwebdesigner.com";
$sitename = "marikwebdesigner";
//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
Telefono: $telefono
Messaggio:
------------------------------
$comments
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;
} //
?>