Page rotator help!

Hy all

I’m here again to ask some help for you.
The question is, how can i make a page, what when someone open, is start rotate a different sites.

For example i have a rotator.php
When somebody visit this
The site will start to show a sites (in the same window), and change every 5 sec.

Like when you write the script you can ad as many site you want

1 5sec
2 5sec
3 5sec

Please if somebody have some idea help me. Thanks Roland

This is not really PHP tast, because PHP script is executed on server side, sending HTML page to browser. You need to use Javascript. Or you can try meta refresh tag (within the ) like this:

<meta http-equiv="refresh" content="5;url=">

But this will only redirect to the after 5 seconds. To rotate multiple sites, you can refresh the same page (omit url attribute), and use frames - so that every time the page is refreshes after 5 seconds, you load next site to the main frame.

Sponsor our Newsletter | Privacy Policy | Terms of Service