mirror of
https://github.com/jakejarvis/simpip.git
synced 2025-04-26 11:55:08 -04:00
phpfog
This commit is contained in:
parent
db5eba9952
commit
3ee4bbf408
@ -1,3 +1,3 @@
|
||||
simpip
|
||||
simpip.com
|
||||
=========
|
||||
A very simple IP utility that shows the user's IP address–and only the user's IP address–on a plaintext page using PHP.
|
@ -1 +1 @@
|
||||
<?php header("Content-type: text/plain"); echo ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; ?>
|
||||
<?php header("Content-type: text/plain"); echo ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'] ?>
|
Loading…
x
Reference in New Issue
Block a user