Parent Directory
|
Revision Log
Remove legacy feature Update license date
| 1 | <? |
| 2 | require_once "common.inc.php"; |
| 3 | |
| 4 | function Client_Address($addr=null,$x_addr=null) |
| 5 | { |
| 6 | if ($addr == null) |
| 7 | $addr = $_SERVER["REMOTE_ADDR"]; |
| 8 | |
| 9 | if ($x_addr == null && isset($_SERVER["HTTP_X_FORWARDED_FOR"])) |
| 10 | $x_addr = $_SERVER["HTTP_X_FORWARDED_FOR"]; |
| 11 | |
| 12 | return $_SERVER["REMOTE_ADDR"]; |
| 13 | } |
| 14 | |
| 15 | ?> |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |