<?
Set_Time_Limit(0);
echo str_repeat(" ",300);
ignore_user_abort(true);
echo "begin, please close or stop your browser in 10 seconds\n";flush();
sleep(10);
touch("test.txt");
echo "end";
?>
Submitted by hopol on 2006, June 15, 1:28 PM. PHP教程
<?
Set_Time_Limit(0);
echo str_repeat(" ",300);
ignore_user_abort(true);
echo "begin, please close or stop your browser in 10 seconds\n";flush();
sleep(10);
touch("test.txt");
echo "end";
?>
请问博主,这个有什么用呢?
Post by T on 2007, March 10, 10:42 AM
#1
begin, please close or stop your browser in 10 seconds
首先,请关闭或停在你的浏览器10秒
也就是 关闭 当前浏览器 PHP 也一样执行
计划任务 一样 o(∩_∩)o...哈哈
Post by hopol on 2007, March 11, 5:39 AM
#2