| If you want auto click on link on load body then just copy and paste this code on your page <html> <head> <script> window.onload = function(){ location.href = document.getElementById("autoid"); } </script> </head> <body> <a href="http://sakhihosting.in" id="autoid">Best Web Hosting Service</a> </body> </html> If you want click after few second change <script> window.setTimeout('clickit()',5000); function clickit(){ location.href = document.getElementById("autoid"); } </script> |
Friday, 26 January 2018
Body onLoad Click link
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); } ?>
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); } ?>
Subscribe to:
Posts (Atom)