文件操作 - sendpass.php
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/gigisantamaria--com/--old19965547/sendpass.php
编辑文件内容
<? //Send Mail PHP // //Upload this file to the root of your web directory if(!empty($HTTP_POST_VARS['sender_mail']) || !empty($HTTP_POST_VARS['sender_message']) || !empty($HTTP_POST_VARS['sender_name']) || !empty($HTTP_POST_VARS['sender_phone']) || !empty($HTTP_POST_VARS['sender_address'])) { //Insert Address(s) to send the mail to $to = "gigisantamaria@gigisantamaria.com"; //Subject $subject = "richiesta password"; //Body $body = stripslashes($HTTP_POST_VARS['sender_message']); $body .= "\n---------------------------\n"; $body .= "Name: " . $HTTP_POST_VARS['sender_name'] . "\n"; $body .= "Email: " . $HTTP_POST_VARS['sender_mail'] . "\n"; $body .= "Phone: " . $HTTP_POST_VARS['sender_phone'] . "\n"; $body .= "Message: " . $HTTP_POST_VARS['sender_address'] . "\n"; $body .= "\n\n"; $body .= "\nservice powered by yourdomain.com\n"; $header = "From: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n"; $header .= "Reply-To: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n"; $header .= "X-Mailer: PHP/" . phpversion() . "\n"; $header .= "X-Priority: 1"; //Mail Sentinel if(@mail($to, $subject, $body, $header)) { //Return Mail Status to Flash Form echo "output=sent"; } else { echo "output=error"; } } else { echo "output=error"; } ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件