Hi Guys I made a simple one page site few hours ago for my self with an Iframed CPA email offer.So, i have generated more than 26 submits and i wish to limit it to just 50-70 submits Is there any way i can make 5-6 Iframes to rotate randomly to different people??I shall use 5-6 different offers, so can someone provide me a HTML code or something like that, which simply keeps showing different Iframes to different visitors?? Thanks.:cool2:
BHCB 3 will have that feature i think, if im correct its gonna be released next sunday, the owner of it said.
Thanks for the Info dude Is there any kind of free Javascript or HTMl,etc script that just displays different IFrames to different guys?? Thanks.
multimedia, if that doesnt work try this script here <script language="JavaScript" type="text/javascript"><!-- // Pages to rotate var pages=new Array('http://www.google.com', 'http://www.alltheweb.com', 'http://www.gigablast.com'); var rint=5; // Rotation interval var currentpage=-1; function rotator(){ currentpage++; if(currentpage >= pages.length) currentpage=0; document.all.rotate.src=pages[currentpage]; setTimeout('rotator()', rint * 1000); } rotator(); //--></script> edit:might have to play with the coding a littlebit but it should all be in there.
I will tell the result with in the next 5 minutes dude I appreciate you taking some time to help me out Thanks. EDIT : Dude can we add Iframes in place of the URLs in the JS code ??
PHP: <?$urls = array("http://url1", "http://url2", ... , "http://url5");$iframe = $urls[round(rand(0,4))];?><iframe src="<? echo $iframe ?>"></iframe> That should do it EDIT: lol, the html code in the last line is black on black - that's soo blackhat
LOL William, you truly are a BlackHatter I think this should do the trick .I was trying out trushafty's codes Thanks Guys.
Bump...Dude william The PHP Code does work , except for the fact that the Iframe does not change the URLs having different Referral IDs .Any way to do this dude??I tried to visit my Landing Page with a proxy too, but it shows only link1 as Iframe :S Repped You Thanks.
Hey, sorry I haven't been to the forums for the last day or two. I'd love to help, but I'm not sure I understand your question. Especially: EDIT: Ok, sorry, I don't know what I was thinking with the round() ... try it like this, now it really should work: PHP: <?$urls = array("http://www.google.com", "http://www.yahoo.com", "http://digg.com" , "http://www.twitter.com", "http://www.facebook.com");$iframe = $urls[rand(0, count($urls) - 1)];?><iframe src="<? echo $iframe ?>"></iframe> Now, it also works with any amount of URLs, before it was hard-coded to 5.
hey Williams can you post a code of a whole html page that contain that rotation code and working because i copy/paste your code and it does not work i sure had missed something cuz i don't understand php
The following is tested and works. It's the entire content of the file and works on its own, not including any other files or so. Be sure to give the file the appropriate ending ".php" and only run it from a webserver that has PHP enabled. Practically everywhere you find hosting there's also PHP installed / enabled. You cannot just double-click the file in the windows explorer and expect it to work. It has to be on a web server somehwere and you have to access it through your browser. Hope, I could help. If it's still not working, please tell me precisely what error messages you're getting, etc. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <? $urls = array("http://www.google.com", "http://www.yahoo.com", "http://digg.com" , "http://www.twitter.com", "http://www.facebook.com"); $iframe = $urls[rand(0, count($urls) - 1)]; ?> <iframe src="<? echo $iframe ?>"></iframe> </body> </html>
Is there a script similar to a random LP rotator where the LP rotates to another one after a certain amount of visits and so on?
That's easilly possible with basic MySQL. I'm not gonna code everything now as it is a bit more effort, but here's a simple idea how you could do it: Mysql Table "urls": Code: id url counter Mysql Table "threshold": Code: id threshold 1 50 (Now that i'm typing this stuff - you don't actually need my MySQL table, just use XML or a simple text file instead) With php you select one url from "urls" where the counter is smaller than the threshold and order by id. Then increase the counter. If the first select query returns no results (i.e. every url has more views then the threshold) increase the threshold by 50 or so and start over. Have fun. And don't use MySQL, use a simple XML file