87,907
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
$(function(){
$("#quick").click(function(){
$.ajax({
url: "get.php",
type: "GET",
dataType: "text",
success: function (data){
document.getElementById("request_url").value=data;
}
});
foreach($new_arr as $key)
{
echo $key;
echo str_repeat(' ',4096*64);//php.ini
ob_flush();
flush();
usleep(100000);
}
<script type="text/javascript">
function timeout(){
$.ajax({
url: "get.php",
type: "GET",
dataType: "text",
success: function (data){
document.getElementById("request_url").value=data;
}
});
}
</script>
<script type="text/javascript">
$(function(){
$("#quick").click(function(){
window.setTimeout("timeout()()", 500);
});
});
</script>
foreach($new_arr as $key)
{
echo $key;
echo str_repeat(' ',4096*64);//php.ini
ob_flush();
flush();
usleep(100000);
}