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

Typing & Clicking Go To Different URL's...

Discussion in 'Cloaking and Content Generators' started by arcarc, May 13, 2009.

  1. arcarc

    arcarc Newbie

    Joined:
    Mar 5, 2008
    Messages:
    38
    Likes Received:
    4
    anyone know how to do this?

    like..if my domain was A.com

    if you TYPE OUT A.com in your browser, it would redirect to A2.com

    now if it was a link on a website and you CLICKED IT, it would go to A3.com

    figured it must be some kind of coding/cloaking?
     
  2. dumdumz

    dumdumz Registered Member

    Joined:
    Jan 5, 2009
    Messages:
    50
    Likes Received:
    6
    you can check to see if there is a referrer

    Code:
    
    <?php if(empty($_SERVER['HTTP_REFERER'])) { //user typed in URL } else { //user clicked a link } ?>
    
    
    Not 100% accurate but should do the job just fine.