| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/ergofito/ |
Upload File : |
<?
include('_init.php');
$data = $_POST;
switch ($data['action']) {
case 'submitContact':
unset($data['action']);
$lang = $_GET['lang'];
//send email
$to = 'bennyleung@onesolution.com.hk';
$subject = 'Ergofito - Contact Us';
$sender_name = 'Ergofito';
$sender_email = 'notreply@inno3d.com';
$map_file = 'contact.html';
unset($content_arr);
$content_arr['name'] = $data['name'];
$content_arr['phone'] = $_POST['phone'];
$content_arr['email'] = $_POST['email'];
$content_arr['message'] = nl2br($_POST['message']);
sendEmail($to, $subject, $content_arr, $sender_name, $sender_email, $map_file ,'test');
//
$path = $lang.'/contactus.php?action=true';
break;
}
@header("Location: {$path}");
echo "<script language='JavaScript'>window.location='{$path}'</script>";
exit();
?>