Home >php教程 >php手册 >php js 动态显示服务器运行程序的进度条

php js 动态显示服务器运行程序的进度条

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:24:211545browse

php教程 网页特效 动态显示服务器运行程序的进度条
if ('source' == $_get['act']) {           //查看源代码
show_source($_server["script_filename"]);
exit;
}   //end if
set_time_limit(0);
for ($i = 0; $i $users[] = 'tom_' . $i;
}   //end for
$width = 500;                      //显示的进度条长度,单位 px
$total = count($users);     //总共需要操作的记录数
$pix = $width / $total;        //每条记录的操作所占的进度条单位长度
$progress = 0;                   //当前进度条长度
?>


   
   
   
   
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn