![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2002
Posts: 269
|
php code for rotating index pages?
Can anybody help out with some simple PHP code to rotate three or more different index pages?
Basically, what I'm looking to do is test out some new page designs on a site. Right now I have the following code working just fine for two pages: PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2002
Location: S. Florida
Posts: 750
|
PHP Code:
![]()
__________________
Somebody stole my damn signture... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2002
Location: Sydney, Australia
Posts: 6,103
|
PHP Code:
__________________
--- |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2002
Posts: 269
|
These both work just fine.. although the second one with the $rand does seem to return more steady distribution of the pages -- although this was only in a very limited test refreshing the page about 20 times.
Which method would be suggested for the most equal distribution? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |