i posted delay loading with php but everybody said this is difficult
and it better using jquery.
anyone give me some hint or reference?
i want to make my php page delay loading with some image(loading image)
such like
http://www.businessbee.com/wp-content/uploads/24534/loading_home.gif
i have 3 php page
from first page if click submit button, next page is loading.php page which
display loading image and 30sec later i want to redirect to
third page final.php.
redirection and delay function is no problem , problem is
when start to delay loading image is not showing..
i want loading image show to user while delay 30sec
<?php
$delaytime=30;
for ($x=0; $x<$delaytime; $x++) {
echo " ";
sleep(1);
}
header("Location: /final.php"); /* Redirect browser */
exit();
?>
sleep(1000)?sleepis in seconds.usleepis in microseconds.