One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
nportal.andjemztech.com
/
examAdmin
/
View File Name :
sendMailApproved.php
<?php include "inc/header.php"; include "inc/fxn.php"; //$officer_id=$_SESSION['officer_id']; //$roles_id=get("admin_corp",$officer_id,"id","roles_id"); //$stud_id=$_GET['stud_id']; //$s=mysql_query("SELECT * FROM clearance_status WHERE stud_id='$stud_id' AND reg_type='3'"); //$q=mysql_fetch_array($s); $sql=mysql_query("SELECT * FROM clearance_status a,corp_mem b WHERE a.stud_id=b.stud_id AND a.dean_verify='1' AND a.branch_verify='1' AND a.ad_comm='1' AND a.dean_verify_date BETWEEN '2014-08-07' AND '2014-08-09' LIMIT 61,80"); $count=mysql_num_rows($sql); echo $count."<br /> "; while ($rr=mysql_fetch_array($sql)){ //echo $row['stud_id']."---- ".$row['surname']."<br />"; $surname=$rr['surname']; $othernames=$rr['othernames']; $name= $surname." ".$othernames; $auth_num=$rr['auth_num']; //send mail $email=$rr['email']; //echo $email; $str = "Nigerian Society of Engineers: Corporate Membership Application"; $html_data = '<html><head><title>'.$str.'</title></head><body><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="47%" bgcolor="#944B2A"><H1><span style="color:#ffffff">NSE CORPORATE MEMBERSHIP APPLICATION</span></H1> </td> </tr> <tr><td><h4>Dear '.$name.' </h4><h4>We appreciate your interest in becoming a Corporate Member of the Nigerian Society of Engineers.<br><br><p>Kindly be informed that your application has been processed and you are qualified to take part in NSE 2014 September Examination/Interview.<br><br>Find below the Examination Timetable:</p><p><br><li> Submission of Technical Report to Chief Examiner - 3rd – 10th September, 2014</li><br><br><li>Part 1 Oral Defense of designs, Technical Report & Computer Practical - 18th – 20th September, 2014</li><br><br><li>Part 2, Written Examination (Computer, Objective, Technical & National Essay) 4th October, 2014</li></p><br> </h4> <h4><br>Kindly accept the assurances of our highest regard.<br><br><br>Yours faithfully,<br><br>Corporate Membership Coordinator<br><i>For:</i>Head, Membership Services.</h4></td></tr></table></body></html>'; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From: <application@nse.org.ng>' . "\r\n"; echo $html_data; $mail=@mail($email,$str,$html_data,$headers); } if($mail){ echo "mail sent"; } ?>