已掉线,重新登录

首页 > 绿虎论坛 > 历史版块 > 编程 > PHP > 源码

标题: 请问这个监控代码有错麽

作者: @Ta

时间: 2014-03-11

点击: 1380

<?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|隐藏机器人聊天)』

1. ..
(/@Ta/2014-03-11 11:24//)

2. 路过
(/@Ta/2014-03-14 22:35//)

回复需要登录

7月25日 22:29 星期五

本站由hu60wap6驱动

备案号: 京ICP备18041936号-1