Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
nft_project.io /
5 /
Delete
Unzip
Name
Size
Permission
Date
Action
css
[ DIR ]
drwxrwxrwx
2022-03-28 13:11
fonts
[ DIR ]
drwxrwxrwx
2022-03-28 13:11
images
[ DIR ]
drwxrwxrwx
2022-03-28 13:11
js
[ DIR ]
drwxrwxrwx
2022-03-28 13:11
video
[ DIR ]
drwxrwxrwx
2022-05-10 00:14
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
blog-detail.html
17.19
KB
-rwxrwxrwx
2022-03-28 13:11
blog.html
16.65
KB
-rwxrwxrwx
2022-03-28 13:11
contact.php
3.06
KB
-rwxrwxrwx
2022-03-28 13:11
element-counter.html
17.49
KB
-rwxrwxrwx
2022-03-28 13:11
element-pricing.html
19.6
KB
-rwxrwxrwx
2022-03-28 13:11
element-team.html
25.4
KB
-rwxrwxrwx
2022-03-28 13:11
element-testimonial.html
20.62
KB
-rwxrwxrwx
2022-03-28 13:11
error.html
9.99
KB
-rwxrwxrwx
2022-03-28 13:11
gallery-detail.html
14.78
KB
-rwxrwxrwx
2022-03-28 13:11
index-boxnav.html
53.42
KB
-rwxrwxrwx
2022-03-28 13:11
index-bubbles.html
48.41
KB
-rwxrwxrwx
2022-03-28 13:11
index-business-startup.html
44.79
KB
-rwxrwxrwx
2022-03-28 13:11
index-classic.html
54.01
KB
-rwxrwxrwx
2022-03-28 13:11
index-creative-studio.html
63.45
KB
-rwxrwxrwx
2022-03-28 13:11
index-crypto.html
36.93
KB
-rwxrwxrwx
2022-03-28 13:11
index-flat-agency.html
41.77
KB
-rwxrwxrwx
2022-03-28 13:11
index-flat.html
43.94
KB
-rwxrwxrwx
2022-03-28 13:11
index-innovative.html
56.39
KB
-rwxrwxrwx
2022-03-28 13:11
index-interactive-agency.html
39.54
KB
-rwxrwxrwx
2022-03-28 13:11
index-modern-portfolio.html
60.27
KB
-rwxrwxrwx
2022-03-28 13:11
index-modern.html
53.59
KB
-rwxrwxrwx
2022-03-28 13:11
index-parallax.html
15.65
KB
-rwxrwxrwx
2022-03-28 13:11
index-squarebtn.html
65.92
KB
-rwxrwxrwx
2022-03-28 13:11
index-studio.html
46.31
KB
-rwxrwxrwx
2022-03-28 13:11
index-video-bg.html
45.3
KB
-rwxrwxrwx
2022-03-28 13:11
index-vimeo.html
41.98
KB
-rwxrwxrwx
2022-03-28 13:11
index.html
68.6
KB
-rwxrwxrwx
2022-03-28 13:11
index.php
6.98
KB
-rw-r--r--
2023-01-18 07:38
signin.html
11.16
KB
-rwxrwxrwx
2022-03-28 13:11
signup.html
11.21
KB
-rwxrwxrwx
2022-03-28 13:11
Save
Rename
<?php if($_POST) { $to_Email = "admin@themes.ads"; //Replace with recipient email address $subject = 'XeOne - New Contact Inquiry'; //Subject line for emails //check if its an ajax request, exit if not if(!isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) != 'xmlhttprequest') { //exit script outputting json data $output = json_encode( array( 'type'=>'error', 'text' => 'Request must come from Ajax' )); die($output); } //check $_POST vars are set, exit if any missing if(!isset($_POST["userName"]) || !isset($_POST["userEmail"]) || !isset($_POST["userMessage"])) { $output = json_encode(array('type'=>'error', 'text' => 'Input fields are empty!')); die($output); } //Sanitize input data using PHP filter_var(). $user_Name = filter_var($_POST["userName"], FILTER_SANITIZE_STRING); $user_Email = filter_var($_POST["userEmail"], FILTER_SANITIZE_EMAIL); $user_Phone = $_POST["userPhone"]; //$user_Subject = $_POST["userSubject"]; $user_Message = filter_var($_POST["userMessage"], FILTER_SANITIZE_STRING); //additional php validation if(strlen($user_Name)<3) // If length is less than 3 it will throw an HTTP error. { $output = json_encode(array('type'=>'error', 'text' => 'Name is too short or empty!')); die($output); } if(!filter_var($user_Email, FILTER_VALIDATE_EMAIL)) //email validation { $output = json_encode(array('type'=>'error', 'text' => 'Please enter a valid email!')); die($output); } if(strlen($user_Message)<5) //check emtpy message { $output = json_encode(array('type'=>'error', 'text' => 'Too short message! Please enter something.')); die($output); } $message_Body = "<strong>Name: </strong>". $user_Name ."<br>"; $message_Body .= "<strong>Email: </strong>". $user_Email ."<br>"; $message_Body .= "<strong>Phone: </strong>". $user_Phone ."<br>"; // $message_Body .= "<strong>Subject: </strong>". $user_Subject ."<br>"; $message_Body .= "<strong>Message: </strong>". $user_Message ."<br>"; $headers = "From: " . strip_tags($user_Email) . "\r\n"; $headers .= "Reply-To: ". strip_tags($user_Email) . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //proceed with PHP email. /*$headers = 'From: '.$user_Email.'' . "\r\n" . 'Reply-To: '.$user_Email.'' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); */ $sentMail = @mail($to_Email, $subject, $message_Body, $headers); if(!$sentMail) { $output = json_encode(array('type'=>'error', 'text' => 'Could not send mail! Please check your PHP mail configuration.')); die($output); }else{ $output = json_encode(array('type'=>'message', 'text' => 'Hi '.$user_Name .' Thank you for contacting us.')); die($output); } } ?>