I'm not well versed in PHP, but wanted to see if somebody could offer their time to provide code as to when a person lands on a page, in the first 30 secs of a given minute it shows the "assigned" page version A ... and if they land in the latter 30 seconds of a given minute that they land on version B page ...
Can anyone help out? Thanks in advance for you assistance!
assigning pages according to time
Moderator: General Moderators
-
deltatango5
- Forum Newbie
- Posts: 14
- Joined: Mon Jan 22, 2007 1:07 pm
- Contact:
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: assigning pages according to time
Code: Select all
if (date('s') <= 30) {
echo 'page1';
} else {
echo 'page2';
}