1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does Anyone Know How To Do This???

Discussion in 'Black Hat SEO' started by multimedia, Aug 16, 2009.

  1. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    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:
     
  2. im n0t lurer

    im n0t lurer Regular Member

    Joined:
    Jun 29, 2009
    Messages:
    229
    Likes Received:
    54
    BHCB 3 will have that feature i think, if im correct its gonna be released next sunday, the owner of it said.
     
  3. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    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.
     
  4. trushafty38

    trushafty38 Regular Member

    Joined:
    Jul 24, 2009
    Messages:
    208
    Likes Received:
    99
    Occupation:
    I have many Hats, Including a black one.
    Location:
    My rep is ruined! lol
    • Thanks Thanks x 1
  5. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    Thanks for this mate :)

    Will surely thank you if it works :D
     
  6. trushafty38

    trushafty38 Regular Member

    Joined:
    Jul 24, 2009
    Messages:
    208
    Likes Received:
    99
    Occupation:
    I have many Hats, Including a black one.
    Location:
    My rep is ruined! lol
    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.
     
    • Thanks Thanks x 1
  7. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    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 :) ??
     
    Last edited: Aug 17, 2009
  8. Williams

    Williams Newbie

    Joined:
    Aug 13, 2009
    Messages:
    6
    Likes Received:
    5
    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 :D
     
    • Thanks Thanks x 1
    Last edited: Aug 17, 2009
  9. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    LOL William, you truly are a BlackHatter :D

    I think this should do the trick ;).I was trying out trushafty's codes :)

    Thanks Guys.
     
  10. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    Bump...Dude william :)

    The PHP Code does work :D, except for the fact that the Iframe does not change the URLs having different Referral IDs :D.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.
     
  11. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    Useful reply soap :)

    William, can you please help me a little with your amazing script dude :)??

    Thanks.
     
  12. Williams

    Williams Newbie

    Joined:
    Aug 13, 2009
    Messages:
    6
    Likes Received:
    5
    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(0count($urls) - 1)];
    ?>
    <iframe src="<? echo $iframe ?>"></iframe>
    Now, it also works with any amount of URLs, before it was hard-coded to 5.
     
    • Thanks Thanks x 2
    Last edited: Aug 18, 2009
  13. tekayo

    tekayo Registered Member

    Joined:
    Jul 11, 2009
    Messages:
    51
    Likes Received:
    228
    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
     
  14. Williams

    Williams Newbie

    Joined:
    Aug 13, 2009
    Messages:
    6
    Likes Received:
    5
    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>
    
     
    • Thanks Thanks x 1
    Last edited: Aug 18, 2009
  15. UndeniableSpirit

    UndeniableSpirit Regular Member

    Joined:
    May 10, 2009
    Messages:
    262
    Likes Received:
    92
    Location:
    The Courts
    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?
     
  16. Williams

    Williams Newbie

    Joined:
    Aug 13, 2009
    Messages:
    6
    Likes Received:
    5
    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 ;)
     
    • Thanks Thanks x 1