Tuesday, 2 January 2018

Create your simple multi page rotator

Create your simple multi page rotator .
Create a php file and copy code given below and replace link with your link and save your file. Now open your file in  browser and test your link work.

<?php $link[1] = "http://sakhiad.com/index.php";
$link[2] = "http://adslinks.in";
$link[3] = "http://adquash.com/";
if(!isset($HTTP_cookie_VARS[‘link’])){ $n=count($link); 
$rand=rand(1,$n); setcookie("link",$rand,time()+3600);
header('location:'.$link[$rand]); }else{ $go=$link[$_COOKIE['link']]; header('location:'.$go); } ?>