403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.69.176.9
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/wwwroot/boathouseatalleppey.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/boathouseatalleppey.in/booknowold.php
<?php
/*include './functions/DBConnect.php';*/
error_reporting(E_ALL);
ini_set('display_errors', 1);
//$mail->SMTPDebug = 3;

 require_once("phpmailer/PHPMailerAutoload.php");


	 $mail = new PHPMailer();
	 $name = $_POST['rname']; // required
	 /*$address = $_POST['raddress']; // required
	 $country = $_POST['rcountry']; // required*/
	 $telephone = $_POST['rphone']; // required
	 $email = $_POST['remail']; // required
	 $arrival_date = $_POST['rdate1']; // required
	 /*$packages = $_POST['rPackages']; // required
	 $days = $_POST['rdays']; // required
	 $adults = $_POST['radults']; // required
	 $children = $_POST['rnos']; // required
	 $room_info = $_POST['roominfo']; // required
	 $room_no = $_POST['roomno']; // required
	 $room_type = $_POST['rRoomType']; // required
	 $cruice_opt = $_POST['Cruice_opt']; // required
	 $food = $_POST['rFood']; // required
	 $food_plan = $_POST['rFoodplan']; // required
	$taxi_info = $_POST['rtaxi_information']; // required
	$pickup = $_POST['rPickDrop']; // not required
	$vehicle = $_POST['rRequiredcar']; // required
	$vehicle_type = $_POST['rcar']; // required*/
	$booking_details = $_POST['rbooking_deatils']; // required
	//$comments = $_POST['message']; // required

    $mail->isMail();  // telling the class to use SMTP
	$mail->isHTML(true);
    $mail->SMTPAuth   = true; // SMTP authentication
    $mail->Host       = "smtp.mail.yahoo.com"; // SMTP server
	$mail->SMTPSecure = 'tls';                            // Enable TLS encryption, `ssl` also accepted
	$mail->Port       = 587; // SMTP Port
    $mail->Username   = "[email protected]"; // SMTP account username
    $mail->Password   = "boathouseataleppy";        // SMTP account password
	//$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

    $mail->SetFrom($name); // FROM
	$mail->From =  $email;
	$mail->FromName = "Boathouse Reservation";
    //$mail->AddReplyTo('[email protected]', 'John Doe'); // Reply TO

    $mail->AddAddress("[email protected]" , $name); // recipient email

    $mail->Subject    =  $email; // email subject
    $mail->Body       =  '<div style="width:600px; height:auto;border:1px solid #000;border: 5px solid #e2e2e2; font-family:Arial; font-size:13px;">
        <div class="row">
            <div style="width:30%; padding:10px; text-align:left;vertical-align:top;display:inline-block;"> Name </div>
            <div style="width:60%; padding:10px; height:auto; text-align:left;vertical-align:top;display:inline-block;"> '.$name.'</div>
        </div>

        
        

        <div class="row">
            <div style="width:30%; padding:10px; text-align:left;vertical-align:top;display:inline-block;"> Phone </div>
            <div style="width:60%; padding:10px; height:auto; text-align:left;vertical-align:top;display:inline-block;"> '.$telephone.'</div>
        </div>

        <div class="row">
            <div style="width:30%; padding:10px; text-align:left;vertical-align:top;display:inline-block;"> Email </div>
            <div style="width:60%; padding:10px; height:auto; text-align:left;vertical-align:top;display:inline-block;">'.$email.'</div>
        </div>
        <div class="row">
            <div style="width:30%; padding:10px; text-align:left;vertical-align:top;display:inline-block;"> Arrival Date </div>
            <div style="width:60%; padding:10px; height:auto; text-align:left;vertical-align:top;display:inline-block;"> '.$arrival_date.' </div>
        </div>

        
        <div class="row">
            <div style="width:30%; padding:10px; text-align:left;vertical-align:top;display:inline-block;"> Booking Details </div>
            <div style="width:60%; padding:10px; height:auto; text-align:left;vertical-align:top;display:inline-block;"> '.$booking_details.' </div>
        </div>';

        if (!@mail($mailTo, $mailSubject, $mailMessage, "From: $mailFrom\r\nContent-type:text/html\r\n"))
              {
                echo "<script>document.getElementById('hideform').style.display='none';</script>";
            }
            else{
                echo "Sorry";
            }

    /*if(!$mail->Send()) {
      echo 'Message was not sent.';
      echo 'Mailer error: ' . $mail->ErrorInfo;
    } else {
      echo 'Message has been sent.';
	  //echo  $email_from;
    }*/

   /* $sql="insert into booking (name,telephone,email,arrival_date,booking_details) values
                    ('".$name."','".$telephone."','".$email."','".$arrival_date."','".$booking_details."')";
                    
   

     if(mysqli_query($con,$sql))
                {
                    header('Location: reservation.html');
                    $_SESSION['msg1']="Successfully Added";
                }

*/


 
    
   
    
  /*  $to = "[email protected]";
    $subject = "Dealership Form Downloaded by ".$name;

$message ="Hi,<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".$name." has Download Dealership from www.coircraft.com/dealership.php <br />
        Following are the details submitted.<br><br>";
       $mailMessage = $mailMessage .'<div style="width:410px;float:left;height:20px;display:block"><div style="width:200px;float:left;height:20px;display:block"><strong>Name</strong></div><div style="width:200px;height:20px;float:left;display:block">: '  . $name.'</div><br>';
        $mailMessage = $mailMessage .'<div style="width:200px;float:left;height:20px;display:block"><strong>Email Id</strong></div><div style="width:200px;height:20px;float:left;display:block">: '  . $email.'</div><br>';
        $mailMessage = $mailMessage .'<div style="width:200px;float:left;height:20px;display:block"><strong>Phone number</strong></div><div style="width:200px;height:20px;float:left;display:block">: '  . $telephone.'</div><br>';
        $mailMessage = $mailMessage .'<div style="width:200px;float:left;height:20px;display:block"><strong>Place</strong></div><div style="width:200px;height:20px;float:left;display:block">: '  . $place.'</div></div><br>';

// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";

// More headers
$headers .= 'From: <[email protected]>' . "\r\n";
$headers .= 'Cc: [email protected]' . "\r\n";

mail($to,$subject,$message,$headers);
      
        
        
        if (!@mail($mailTo, $mailSubject, $mailMessage, "From: $mailFrom\r\nContent-type:text/html\r\n"))
              {
                echo "<script>document.getElementById('hideform').style.display='none';</script>";
            }
            else{
                echo "Sorry";
            }
*/
?>

Youez - 2016 - github.com/yon3zu
LinuXploit