php下載遠程大文件(獲取遠程文件大小)的實例
710
2024-01-10
<?php
/*
@author hills
@tencentqq 3303911
@web www.abzz.net
@email hackhgs@qq.com
@blog blog.abzz.net
@mobiletelethone 1345-2626-567
@filecreate 2009-12-25-13:20,copyright hills
*/
$utc=date(”T”);
if ($utc==”UTC”)
$h=date(”h”)+8;
$dateshow=date(”Y-m-d “.$h.”:i:s”);
function rn()
{
if (date(”L”)==1)
{
echo “是”;
}
else
{
echo “否”;
}
}
$weeks=date(”l”);
$year=date(”W”);
$dayyear=date(”z”);
$weeksmemberic=date(”t”);
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”x-ua-compatible” content=”IE=EmulateIE7″ />
<meta http-equiv=”content-language” content=”zh-cn” />
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
<meta http-equiv=”keywords” content=”date()函數” />
<meta http-equiv=”description” content=”date()函數” />
<meta http-equiv=”author” content=”hills” />
<title>date()函數</title>
<link href=”css/default.css” rel=”stylesheet” media=”all” type=”text/css” />
</head>
<body>
<div>
<div>
<ul>
<li><?php echo “時區:”.$utc;?></li>
<li><?php echo “當前時間(+8):”.$dateshow;?></li>
<li><?php echo (”是否閏年:”); rn();?></li>
<li><?php echo “星期:”.$weeks;?></li>
<li><?php echo “今天是全年中第:”.$year.”周”;?></li>
<li><?php echo “今天是今年的第”.$dayyear.”天”;?></li>
<li><?php echo “本月一共有”.$weeksmemberic.”天”;?></li>
</ul>
</div>
</div>
</body>
</html>
#免責聲明#
本站[綠夏技術導航]提供的一切軟件、教程和內容信息僅限用于學習和研究目的;不得將上述內容用于商業或者非法用途,否則,一切后果請用戶自負。本站信息來自網絡收集整理,版權爭議與本站無關。您必須在下載后的24個小時之內,從您的電腦或手機中徹底刪除上述內容。如果您喜歡該程序或內容,請支持正版,購買注冊,得到更好的正版服務。我們非常重視版權問題,如有侵權請郵件[admin@lxwl520.com]與我們聯系進行刪除處理。敬請諒解!