resources - PHP Infinite Sleep -


my web page has following sleep line in it:

sleep(600); 

for user, appear if page loading "forever". effect desired.

however, create process lasts 10 minutes, eating system resources. there way create same effect user (loading "forever") without having lengthy process?

try using jquery script. work, because design reason right? or thinking wrong.

body {display: none} 

then jquery

$("body").delay(millisecond_wait).attr("display", "block"); 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -