Simple Code To Test Multiple Landing Pages
Posted on April 19th, 2008 by SOBSometime last year, Shoemoney gave out a simple script using PHP, where it allows you to show both Google Adsense, and Yahoo Publishers ads on the same site. I have used it in the past on few of my sites, and yesterday I just modded that, and am testing out multiple landing pages. Here it is:
< ? php <– Remove the spaces
$number=mt_rand(1, 2);
if ($number==”1″) {
include “/root path/index1.php”; #your 1st landing page design
}
else
{
include “/root path/index2.php”; #your 2nd landing page design
}
?>
And name this file index.php and you are all set. I am not a coder, so don’t flame me if this is not to your standards. Contact Shoemoney.com for modding info. ![]()
Technorati Favorite | Save To del.icio.us | Stumble It | Digg This! | Share On Facebook
| Subscribe To RSS




Recent Comments