One Hat Cyber Team
Your IP :
3.145.99.240
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
praval
/
public_html
/
111
/
Edit File:
appointment.php
<?php if(isset($_POST['submit'])) { $name = $_POST['name']; $gender = $_POST['gender']; $phone = $_POST['phone']; $date = $_POST['date']; $time = $_POST['time']; $department = isset($_POST['department']) ? $_POST['department']:''; $message = $_POST['message']; $subject = 'Appointment Request by '.$name; // the message $msg = "Appointment Details\n"."Name : " . $name . "\n"."Gender : " . $gender . "\n"."Phone : " . $phone . "\n"."Date : " . $date . "\n"."Time : " . $time . "\n"."Department " . $department . "\n"."Message " . $message; // use wordwrap() if lines are longer than 70 characters $msg = wordwrap($msg,70); // send email if(mail("drpraval.pratap@gmail.com",$subject,$msg)){ header("Location:index.php"); }else{ echo "error"; } }else{ echo "error"; } ?>
Simpan