<?php
//鬧鐘程序
error_reporting(
ob_start();
if (!isset($i)) {
$msg=
$t=time();
refresh($msg
}elseif ($i==
$msg=
$t
$t
$msg
refresh($msg
}elseif ($i==
//
print <<<EOT
<object id="MediaPlayer
codebase="#Version=
align="baseline" border="
type="application/x
<param name="invokeURLs" value="
<param name="FileName" value="
<param name="ShowControls" value="
<param name="ShowPositionControls" value="
<param name="ShowAudioControls" value="
<param name="ShowTracker" value="
<param name="ShowDisplay" value="
<param name="ShowStatusBar" value="
<param name="AutoSize" value="
<param name="ShowGotoBar" value="
<param name="ShowCaptioning" value="
<param name="AutoStart" value="
<param name="PlayCount" value="
<param name="AnimationAtStart" value="
<param name="TransparentAtStart" value="
<param name="AllowScan" value="
<param name="EnableContextMenu" value="
<param name="ClickToPlay" value="
<param name="DefaultFrame" value="datawindow">
<embed src="
type="application/x
pluginspage="
name="MediaPlayer" showcontrols="
showaudiocontrols="
showstatusbar="
autosize="
showgotobar="
animationatstart="
enablecontextmenu="
defaultframe="datawindow" invokeurls="
</embed>
</object>
EOT
}
function refresh($msg=
echo $msg
echo "<meta http
}
?>
From:http://tw.wingwit.com/Article/program/PHP/201311/20880.html