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
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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
Old 02-18-2009, 02:04 AM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I've written about this before. Essentially, a lot of proxy servers are unlikely to be setting the X-Forwarded-For header, particularly web based proxies.

Edit: Thinking about it, there is a more sneaky way to detect multiple accounts, as it appears that's what you're doing. You can use the following method for that. Simply send the data back via AJAX to a PHP script.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 02-18-2009, 03:49 AM   #3 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default

Yeah that is what I am trying to do is there a way you can help out with that? this is nothing I am good at

Last edited by KingOfTheSouth : 02-18-2009 at 09:36 PM.
KingOfTheSouth is offline  
Reply With Quote
Reply



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 07:20 PM.

 
     

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