Quote:
Originally Posted by qwe
I want to put alot of urls into the php file, and once php file gets executed it will redirect to those urls one by one... like if I have 100 urls, once php file loads it will go to first url, then once php file get executed again it will load second url, and so on, then once it reaches the end it will start from the begging ... can someone hook me up please 
|
something like this javascript popup
Code:
<!--
var how_many_ads = 3;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {url="http://www.url1.com/";}
if (ad==2) {url="http://www.url2.com/";}
if (ad==3) {url="http://www.url3.com/";}
rotpop=window.open('','rotpop','toolbar=0,menubar=0,scrollbars=1,status=0,resizable=1,top=1,left=1,width=790,height=570');
rotpop.blur();
rotpop.location=url;
-->