View Single Post
Old 04-21-2011, 10:36 AM  
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
I got perl script with solution,but i need php version.
PHP Code:
 if (

             
$ENV{HTTP_X_FORWARDED_FOR} ||

       
$ENV{HTTP_VIA} ||

   
$ENV{HTTP_CACHE_CONTROL} ||

          
$ENV{HTTP_PROXY_CONNECTION}

   ) {

    print 
"<script>document.location = 'http://';</script >";

 
#proxy traff

 
} else {
      print 
"<script>document.location = 'http://';</script >"
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote