Location: PHPKode > projects > KimsQ > q/_tmp/welcome.php
<?php

$install['os']		= PHP_OS;
$install['web']		= $_SERVER['SERVER_SOFTWARE'];
$install['php']		= @phpversion();
$install['zend']	= @zend_version();
$install['gd']		= @gd_info();
$install['iconv']	= function_exists('iconv') ? true : false;
$install['globals']	= ini_get('register_globals');

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>kims Q Install ready</title>
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />

<script type="text/javascript">
//<![CDATA[
function installCheck()
{

	<?if(DirPermcheck()):?>
	alert('다음의 폴더 및 파일퍼미션을 확인해 주십시오.\n\n퍼미션은 모두 [707]이어야 합니다.\n\n\n<?=DirPermcheck()?>');
	return false;
	<?endif?>

	if (confirm('설치를 위해 압축해제 및 퍼미션조정이 이루어집니다.\n\n작업이 완료되면 정식 설치페이지로 이동될 것입니다.\n\n이 작업은 몇초에서 몇십초 걸릴 수 있습니다.'))
	{
		document.getElementById('installbtn').style.paddingTop = '8px';
		document.getElementById('installbtn').style.color = '#c0c0c0';
		document.getElementById('installbtn').style.fontSize = '11px';
		document.getElementById('installbtn').innerHTML = '<span style="color:#FFBA01;">압축해제 및 퍼미션 조정중입니다. 잠시만 기다려 주세요.</span>';
		setTimeout("installStart();",100);
	}
}
function installStart()
{
	location.href = "<?=$_SERVER['PHP_SELF']?>?install=Y";
}
//]]>
</script>

<style type="text/css">
body 
{
	margin:100px 0 0 0;
	overflow:auto;
	background:#000000;
}
.c 
	{
	width:130px;
	display:inline;
}
.s 
{
	color:#849b00;
	display:inline;
	padding-left:10px;
}
.b
{
	color:#ccff00;
	padding-left:20px;
}
.btn
{
	width:500px;
	height:30px;
	font-family:dotum;
	font-weight:bold;
	font-size:15px;
	background:#575757;
	color:#ffffff;
	border:#222222 solid 1px;
	text-align:center;
	padding-top:5px;
}
</style>

</head>

<body>


<table width="510" align="center">
	<tr>
		<td>


			<table width="100%" cellspacing="0" cellpadding="15" bgcolor="#000000">
				<tr>
					<td valign="top" style="color:#BCBCBC;font-family:arial;line-height:180%;">
						
						<div class="c">Server OS</div> : <div class="s"><?=$install['os'] ? $install['os'] : 'None'?></div>
						<b class="b">OK</b><br />
						
						<div class="c">Web Server</div> :  <div class="s"><?=$install['web'] ? $install['web'] : 'None'?></div>
						<b class="b"><?=substr($install['web'],0,6) == 'Apache'?'OK':'Failure'?></b><br />
						
						<div class="c">PHP</div> :  <div class="s"><?=$install['php'] ? $install['php'] : 'None'?></div> 
						<b class="b"><?=intval(substr(str_replace('.','',$install['php']),0,2)) > 41?'OK':'Failure'?></b><br />
						
						<div class="c">ZEND</div> :  <div class="s"><?=$install['zend'] ? $install['zend'] : 'None'?></div>
						<b class="b"><?=$install['zend']?'OK':'Failure'?></b><br />
						
						<hr style="border:#444444 solid 1px;height:1px;margin-top:10px;margin-bottom:10px;padding:0px;" />

						<div class="c">GD</div> : <div class="s"><?=is_array($install['gd']) ? $install['gd']['GD Version'] : 'None'?></div>
						<b class="b"><?=is_array($install['gd'])?'OK':'Failure'?></b><br />
						
						<div class="c">Iconv</div> : <div class="s"><?=$install['iconv'] ? 'Enabled' : 'Disabeld'?></div>
						<b class="b"><?=$install['iconv']?'OK':'Failure'?></b><br />
						
						<div class="c">register_globals</div> : <div class="s"><?=$install['globals'] ? 'On' : 'Off'?></div>
						<b class="b">OK</b><br />
						
					</td>
				</tr>
			</table>
			

			<p align="center">
				<div id="installbtn" class="btn"><span style="cursor:pointer;" onclick="installCheck();">큐를 설치합니다 (Install Q)</span></div>
			</p>


		</td>
	</tr>
</table>


</body>
</html>
Return current item: KimsQ