Subdomain Posts
PHP | 3 days ago
PHP | 160 days ago
PHP | 162 days ago
PHP | 197 days ago
PHP | 209 days ago
PHP | 250 days ago
PHP | 432 days ago
PHP | 478 days ago
PHP | 567 days ago
PHP | 567 days ago
Recent Posts
Java | 3 sec ago
C | 12 sec ago
None | 22 sec ago
None | 43 sec ago
PHP | 54 sec ago
PAWN | 54 sec ago
None | 1 min ago
HTML | 2 min ago
PHP | 2 min ago
HTML | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By Sam Yong on the 13th of Jan 2009 09:43:32 AM
Download |
Raw |
Embed |
Report
function getIP() {
$IP = '';
if (getenv('HTTP_CLIENT_IP')) {$IP =getenv('HTTP_CLIENT_IP');}
elseif (getenv('HTTP_X_FORWARDED_FOR')) {$IP =getenv('HTTP_X_FORWARDED_FOR');}
elseif (getenv('HTTP_X_FORWARDED')) {$IP =getenv('HTTP_X_FORWARDED');}
elseif (getenv('HTTP_FORWARDED_FOR')) {$IP =getenv('HTTP_FORWARDED_FOR');}
elseif (getenv('HTTP_FORWARDED')) {$IP = getenv('HTTP_FORWARDED');}
else {
$IP = $_SERVER['REMOTE_ADDR'];
}
return $IP;
}
Submit a correction or amendment below.
Make A New Post