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

IP Cloaking in PHP and meterefresh

Discussion in 'Cloaking and Content Generators' started by 5thday, Sep 24, 2008.

  1. 5thday

    5thday Newbie

    Joined:
    Jun 20, 2008
    Messages:
    11
    Likes Received:
    0
    hi

    firstly thanks to all guys active here in cloaking forum!im learning a lot but i got lost a bit with all of the info here.i want to do a cloak based on ip(i have my own spider list) and at the same time do metarefresh and redirect to my moneypage.it should look like this:

    search engine>cloaking based on ip and to clear referrer: meta refresh with redirection to>moneypage.So if the visitor clicks on the serps he gets to my site, script looks for the ip,detects its a human, does metarefresh to clear referrer and redirects to my monepage, otherwise in case of detecting spider there is no redirection.I am sure i have seen smth like this here but i cannot find it now.Anyone can help me with this?
    thanks in advance!

    edit:eek:ne more thing.in the scenario above how can i cloak only with htaccess and IP list, not using php?
    hope someone can clarify this to me:)
     
    Last edited: Sep 24, 2008
  2. 5thday

    5thday Newbie

    Joined:
    Jun 20, 2008
    Messages:
    11
    Likes Received:
    0
    come on guys!i dont believe any of you don't know how to do it?:)
     
  3. Nixte

    Nixte Regular Member

    Joined:
    Jan 29, 2008
    Messages:
    264
    Likes Received:
    114
    Well the easiest way would be to allow your cloaker to check whether it is a spider or human and then use Genjutsu's new service to double refresh .....

    With money site you mean the merchent and not one of your whitehat sites, right?)
     
  4. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107
    cloaking with htaccess would make it quite large the .htaccess file. it would be far more easier to maintain the 'bot list' using php + mysql or a flatfile of the ip list.. paying 30$ for a service that only does a meta-refresh would be pretty damn silly..


    http://www.ip2location.com/articles/article2.htm

    There's a site with example code. If you don't know php or how to create a table with mysql, sorry. If you expect someone to just throw a quick thing together for you cause you beg, lol sorry.

    Replace their redirect calls with a meta-refresh to another html or php document that does a second refresh to your target 'money' page... there saved you 30$/month. :D
     
  5. Nixte

    Nixte Regular Member

    Joined:
    Jan 29, 2008
    Messages:
    264
    Likes Received:
    114
    bhnoobz, I said the easiest way would be to do that ... of course you can create you own custom script .... ;)

    PS: I was under the impression that he knew how to make a meta refresh but did not want to make it by hand (also there is a free Generator somewhere here on the forum but you still have to upload the files to your server) ...

     
  6. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107
    custom script?
    it's two files.

    file1
    Code:
        <meta http-equiv="refresh" content="0;url=http://site.com/file2.html">
    
    file 2
    Code:
        <meta http-equiv="refresh" content="0;url=http://target_site.com">
    
     
  7. Nixte

    Nixte Regular Member

    Joined:
    Jan 29, 2008
    Messages:
    264
    Likes Received:
    114
    Are we in a pissing contest? Read my freaking PS section ...

    and then again, did you not suggest to create a script in your part 1 onf your answer ....

     
  8. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107
    lol nah. the guy asked for suggestions. he wanted to use .htaccess, that would be really messy and hard to maintain.
     
  9. Nixte

    Nixte Regular Member

    Joined:
    Jan 29, 2008
    Messages:
    264
    Likes Received:
    114
    I agree with you, htaccess really would have been messy, not to say slooooooooow ... :) Have a wonderful morning

     
  10. 5thday

    5thday Newbie

    Joined:
    Jun 20, 2008
    Messages:
    11
    Likes Received:
    0
    thanks for help and sorry for the confusion.I know how to do metarefresh as well as simple php redirect, i also know and use methods you mentioned above i was just wondering how to do a cloak using ip spiderlist(and bhnoobz gave me a link i was looking for actually!) thanks.

    Regarding htaccess i was thinking about something like this:
    visitor clicks in serps, he goes to my cloaked domain>server reads htaccess(this were magic happens>every request for a page is redirected to the cgi-bin or php script? that checks if its a spider or human and from there is redirecting real visitors and keep the spiders on the page)I am sure it can be done but don't know if its any better then the method bhnoobz gave me.

    does it make sense or im talking bs?:cool:
    nixte:yep i was referring to direct merchant not my wh sites
     
  11. spag

    spag Newbie Premium Member

    Joined:
    Sep 16, 2008
    Messages:
    18
    Likes Received:
    1
    the .htaccess method will work but i believe will be very slow and better done with php
     
  12. Thug Media

    Thug Media Regular Member

    Joined:
    Jul 13, 2008
    Messages:
    341
    Likes Received:
    285
    Occupation:
    Ultrapreneur
    Location:
    <?php England () ?>
  13. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107

    Oh, well yeah rewriting the urls to first go through a php script is how you would do it anyways. I thought you meant putting the rules in the htaccess file itself.. :D Then I would of called you an apache ninja.