UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/ [
drwxr-x---
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
contact-main.php
<?php error_reporting(0); include('connect.php'); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if(isset($_POST['action']) && ($_POST['action']=='sendad') ) { $path = $_POST["path"]; $email = $_POST["email"]; $name = $_POST["name"]; $phone = $_POST["phone"]; $comment = $_POST["comment"]; $subject = $_POST["subject"]; $date=date("d-m-y-His"); ?> <?php /*?> $file_name=trim($_FILES['file']['name']); $extension = getExtension($file_name); $extension = strtolower($extension); $exten1=$extension; $id=date("d-m-y-His"); if($file_name!="") { $image1 = $id."_"."FILE".".".$exten1; $imagetmp1 = $_FILES['file']['tmp_name']; //$size = getimagesize($imagetmp1); $image_name_path1 = "FILE/$image1"; move_uploaded_file($imagetmp1, $image_name_path1); } else { $image1 = "bg-button.GIF"; }<?php */?> <?php //echo "insert into contact set query='$comment',name='$name',email='$email',contact='$phone',designation='$designation',address='$address',cname='$cmpname',date='$date',status='Blocked'"; // $matrimonial = mysql_query("insert into contact set query='$comment',name='$name',email='$email',contact='$phone',designation='$designation',address='$address',cname='$cmpname',date='$date',status='Blocked'"); $message ="<html> <table border=\"0\" cellpadding=\"5\" width=\"700\" cellspacing=\"0\"> <tr><td colspan=\"3\" ><font size=\"+2\"><Strong>Contact For $message</Strong></font></td></tr> <tr> <td colspan=\"3\" > GRG Accessories Ltd. </td> </tr> <tr> <td colspan=\"3\" > </td> </tr> <tr><td><strong>Name</strong></td><td>:</td><td> $name</td></tr> <tr><td><strong>Email</strong></td><td>:</td><td> $email</td></tr> <tr><td><strong>phone</strong></td><td>:</td><td> $phone</td></tr> <tr><td><strong>Subject</strong></td><td>:</td><td> $subject</td></tr> <tr><td><strong>Comment</strong></td><td>:</td><td> $comment</td></tr> <tr><td> </td></tr> </table> <p><strong>This is Contact Query From Growth Pharmaceuticals Pvt. Ltd. , need to reply as soon as possible.</strong></p> <P><strong>Regards,<br> Growth Pharmaceuticals Pvt. Ltd. </strong></p> </html>"; $message = $message; $from = " Growth Pharmaceuticals Pvt. Ltd. "; $to = "drgnsing@growthpharma.in, abhisheksing@growthpharma.in"; $subject =$subject; $headers = "From:$from"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; if(mail ("$to", "$subject", "$message", "$headers")) { echo "<script>location.href='$path?success=Yes'</script>"; $_SESSION['mode'] = "Thank you, we will revert back to you soon.!"; exit(); } else { echo "<script>location.href='$path?success=No'</script>"; $_SESSION['mode1'] = "Your request has not been sent.!"; exit(); } } ?>
Copyright © 2024 - UnknownSec