Preloader script for PHP page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
akkad
Forum Newbie
Posts: 14
Joined: Tue Jul 31, 2007 4:09 am

Preloader script for PHP page

Post by akkad »

Hi every body , i want a preloader script for my php page as it takes time untill it is loading , is there any PHP or javascript script ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Can you clarify what you define as a "preloader script"?
akkad
Forum Newbie
Posts: 14
Joined: Tue Jul 31, 2007 4:09 am

Preloader script for PHP page

Post by akkad »

Ok, my page is calculating the traffic that the user have used on the network so it needs time to analyze the proxy logs.

so i want an preloader that will show to user the page is loading , is it clear now
NOTE: my page does not contain any images
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Code: Select all

<div id="loading">Loading...</div>
<!-- PHP script does it's work... -->
<style type="text/css">#loading { display: none; }</style>
Maybe? It's simple.
Only works if you output as you go, though.
Post Reply