Mos*_*ham 3 php google-app-engine
在Google App Engine上使用PHP - 如何将html发送给用户并继续运行php脚本?
这是我到目前为止所尝试的,但它不起作用.浏览器仅在执行整个脚本后显示页面:
ob_start();
$url = $_POST['url'];
$html = file_get_html($url);
echo $html;
ob_flush ();
// time consuming processing here...
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
206 次 |
| 最近记录: |