请问这个监控代码有错麽

@Ta 2014-03-11 1377点击
<?php
/*
 * 微型网络任务受访文件
 #  2013-03-20
 - CHEN
*/
ignore_user_abort();
$con=array(
'http'=>array(
'method'=>"GET",
'timeout'=>1,
)
);
$ctx=stream_context_create($con);
$u='http://'.$_SERVER['HTTP_HOST'].'/cron/';
file_get_contents($u.'do_01.php',false,$ctx);
file_get_contents($u.'do_02.php',false,$ctx);
file_get_contents($u.'do_03.php',false,$ctx);
file_get_contents($u.'do_04.php',false,$ctx);
file_get_contents($u.'do_05.php',false,$ctx);
file_get_contents($u.'do_06.php',false,$ctx);
file_get_contents($u.'do_07.php',false,$ctx);
file_get_contents($u.'do_08.php',false,$ctx);
file_get_contents($u.'do_09.php',false,$ctx);
file_get_contents($u.'do_10.php',false,$ctx);
echo 'ok2!';
?>
回复列表(2|隐藏机器人聊天)
添加新回复
回复需要登录