public function index(){
set_time_limit(0);
register_shutdown_function( array( &$this, 'dealCSV'));
set_time_limit(0);
exit;
}
public function dealCSV(){
//方法体
}
我知道index这个方法的目的是让dealCSV这个方法执行无时间限制,但不清楚它的具体实现过程
set_time_limit(0);
register_shutdown_function( array( &$this, 'dealCSV'));
set_time_limit(0);
exit;
}
public function dealCSV(){
//方法体
}
我知道index这个方法的目的是让dealCSV这个方法执行无时间限制,但不清楚它的具体实现过程
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货