MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /home/pathumthani_integration/integration/application/labor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/pathumthani_integration/integration/application/labor/ajax.get_personal.surety.php
<?php
	session_start();
	set_time_limit(0); 
	
	include_once("../../config/config_epm.inc.php");
	include_once("manage_user.inc.php");
	
	header("Content-Type: text/html; charset=windows-874");
	
	if ( $_GET['IDCard'] ) {
		$IDCard = str_replace("-", "", $_GET['IDCard']);
		
		$strSQL = "SELECT 
							`id_card`, 
							`prename`, 
							`fname`,
							`lname`
						FROM labor_personal
						WHERE id_card = '".$IDCard."'
						"; #echo $strSQL;
		
		$rsConn = mysql_query($strSQL);
		$Row = mysql_num_rows($rsConn);
		
		if ( $Row > 0 ) {
			$Obj = mysql_fetch_object($rsConn);
			echo "$Obj->id_card||$Obj->prename||$Obj->fname||$Obj->lname";
		} else {
			echo "||||||";
		}
	}
?>

Anon7 - 2021