TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-18-2009, 01:49 AM   #1 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default Proxy detection

I was wanting to know if anyone can help me update this page??? I do not know anything about this lol I am more into game coding.

PHP Code:
<?php
include("html.php");
secureheader();
siteheader();
echo 
"Starting Proxy Detection System<br><br>";

#Here you can call a function to check if the IP is blocked
#and if not then continue to the IF statement


if ($HTTP_X_FORWARDED_FOR)
{
echo 
"Warning: proxy server detected!! Admin have been notified, if your account is suspended it will not be unlocked!!<br><br>";
echo 
"Connected Via: " $HTTP_VIA " - " $REMOTE_ADDR;
echo 
"<br>Your real IP: " $HTTP_X_FORWARDED_FOR
}
else
{
echo 
"Proxy detection clear: Enjoy the game.<br>";
echo 
"Your IP: " $REMOTE_ADDR;
}

?>
What I want it to do is make sure it works lol I have gotten on a proxy server and tested and it still let me through. I want to work til it loads to the ext page
KingOfTheSouth is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing random links with an array paulOr Advanced PHP Programming 6 10-24-2008 09:28 AM
Browser Detection StevenF Absolute Beginners 3 06-03-2008 03:30 PM
Creating a PHP ACL and even Rat out Users using Proxies! Wildhoney General 0 09-22-2007 10:48 AM
php proxy in beta gilbert Feedback 2 07-07-2005 11:58 AM


All times are GMT. The time now is 09:07 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design