Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Proxy

Parašė Peacemaker· 2009 Rugs. 27 10:09:04
#8

Tuomet bandykite:


 <?php

       function checkProxy {
 
      if($_SERVER['HTTP_X_FORWARDED_FOR'] || $_SERVER['HTTP_X_FORWARDED'] || $_SERVER['HTTP_FORWARDED_FOR'] || $_SERVER['HTTP_CLIENT_IP'] || $_SERVER['HTTP_VIA']) {
 
      die('Proxy adresai draudžiami');
 
      }
 
      }
 
      ?>



Redagavo Peacemaker· 2009 Rugs. 27 10:09:27