Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/232.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
服务器精化php脚本的进度条?_Php_Jquery_Progress Bar - Fatal编程技术网

服务器精化php脚本的进度条?

服务器精化php脚本的进度条?,php,jquery,progress-bar,Php,Jquery,Progress Bar,有没有办法为服务器上运行的任何脚本制作进度条(使用ajax和jquery)?我使用一个php脚本来详细说明一些数据,并希望将脚本进度的百分比信息输出到客户端浏览器。我尝试使用session var,但结果很差。您可以以某种方式轮询脚本进度(已处理的数据标记为1,而未标记为0)。您可以计算进度百分比 注意:我的提示只是一个提纲。我不知道你的脚本是如何处理你的数据的,数据可以或者不能像我上面说的那样被标记。 什么样的数据处理在后台进行

有没有办法为服务器上运行的任何脚本制作进度条(使用ajax和jquery)?我使用一个php脚本来详细说明一些数据,并希望将脚本进度的百分比信息输出到客户端浏览器。我尝试使用session var,但结果很差。

您可以以某种方式轮询脚本进度(已处理的数据标记为1,而未标记为0)。您可以计算进度百分比

注意:我的提示只是一个提纲。我不知道你的脚本是如何处理你的数据的,数据可以或者不能像我上面说的那样被标记。 什么样的数据处理在后台进行