/[LeafOK_CVS]/fenglin/lib/client_addr.inc.php
ViewVC logotype

Diff of /fenglin/lib/client_addr.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 by sysadm, Sat Jun 26 21:49:13 2004 UTC Revision 1.5 by sysadm, Sun Jun 27 00:39:39 2004 UTC
# Line 1  Line 1 
1  <?  <?
2    require_once "common.inc.php";
3    
4  function Client_Address($addr=null,$x_addr=null)  function Client_Address($addr=null,$x_addr=null)
5  {  {
6          $proxy_ip = array(          global $SYS_proxy_ip;
7                  "^61.129.42.22[01]$",  
8                  "^10.85.31."          $proxy_ip = $SYS_proxy_ip;
         );  
9    
10          if ($addr == null)          if ($addr == null)
11                  $addr = $_SERVER["REMOTE_ADDR"];                  $addr = $_SERVER["REMOTE_ADDR"];


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1