Activity Stream
48,167 MEMBERS
6896 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1.     
    #11
    Member
    Quote Originally Posted by JamesVaporH View Post
    Heres a small code i came up with:
    Code: 
    <?php
    $realip= $_SERVER["REMOTE_ADDR"];
    $proxyip= $_SERVER["HTTP_X_FORWARDED_FOR"];
    if (empty($proxyip)) {
    		echo "Change or remove this if you want to add a cookie based ad";
    	}
    	else {
    		echo "Please do not cheat using the proxy $proxyip Use your real IP address $realip";
    }
    ?>

    Have you tested it yourself?

  2.   Sponsored Links

  3.     
    #12
    Member
    Website's:
    photostash.me videostash.org
    I tested - it not works because I could not open site... and I am not at proxy

  4.     
    #13
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Block all the proxies is not possible at all.
    Though, you can add some measures to block many of the proxies

    Have a look at this article: http://perishablepress.com/how-to-bl...-via-htaccess/

    Also, you can make sure other checks like checking whether user-agent is empty or not since 60% of the bots don't set any user-agents and similar options.

  5.     
    #14
    Member
    Website's:
    photostash.me videostash.org
    dont works. Tested

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Free Proxy IP List
    By DJboutit in forum Technical Help Desk Support
    Replies: 4
    Last Post: 13th Oct 2012, 03:56 AM
  2. proxy list need
    By Black Tiger in forum Webmaster Discussion
    Replies: 9
    Last Post: 31st May 2012, 09:53 AM
  3. Proxy List
    By TheLorenalex in forum Webmaster Resources
    Replies: 3
    Last Post: 17th Dec 2011, 02:54 PM
  4. need a list of proxy forums
    By Breaking Bad in forum General Discussion
    Replies: 2
    Last Post: 17th Dec 2011, 05:10 AM
  5. My proxy list
    By lenney in forum Site Reviews
    Replies: 14
    Last Post: 15th Feb 2010, 03:28 PM

Tags for this Thread

BE SOCIAL