Jump to content

loading page


01hanstu

Recommended Posts

Hi,

 

Can anyone help. I want to have a 'loading' icon displayed until the code (below) has finished executing, any ideas?

 

<? 
$ip = "192.168.0.30"; 
$port = "80"; 
if (! $socksr01 = @fsockopen($ip, $port, $num, $error, 5)) 
echo '<B><FONT COLOR=red>Offline</b></FONT>'; 
else{ 
echo '<B><FONT COLOR=lime>Online</b></FONT>'; 
fclose($socksr01); 
}
?>

 

This is on the page 9 times (as we have 9 servers), and is slooow

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/191072-loading-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.