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 :
update.php
<?php include_once("auth.inc.php"); $connect = mysql_connect("localhost", "dammy", "dammy") or die ("Can not conect, check your server connection."); mysql_select_db ("nsemembe_nse"); include_once("fxn.php"); //$query = "SELECT nseregno FROM payitem_amount order by id DESC LIMIT 1"; //$result = mysql_query($query) or die(mysql_error()); //$row = mysql_fetch_array($result); //$max_nseregno = $row['nseregno']; //$query = "SELECT id FROM nsemem WHERE nseregno = '$max_nseregno'"; //$result = mysql_query($query); //$row = mysql_fetch_array($result); //$max_id = $row['id']; $max_id = getMaxId(); $query = "SELECT nseregno,id FROM nsemem WHERE id > '$max_id' AND nseregno != 'new' AND nseregno != '' order by id LIMIT 5"; $result = mysql_query($query); while($row = mysql_fetch_array($result)){ $nseregno = $row['nseregno']; $id = $row['id']; UpdateMembersPayment($nseregno); } mysql_query("update max_id set maximum_id = $id"); echo "$nseregno<br>"; echo "$id"; function getMaxId(){ $query = "SELECT * FROM max_id"; $result = mysql_query($query); $row = mysql_fetch_array($result); $id = $row['maximum_id']; return $id; } ?>