Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Find and Ban MAC Addresses on a PHP Game
Old 03-17-2008, 08:54 AM Find and Ban MAC Addresses on a PHP Game
Entanio's Avatar
Novice Talker

Posts: 5
Name: Ashley
Trades: 0
I need to know how you can find and ban MAC addesses on my PHP game. I need to know so admins and mod can do it. Like IP banning.
Entanio is offline
Reply With Quote
View Public Profile Visit Entanio's homepage!
 
 
Register now for full access!
Old 03-17-2008, 01:19 PM Re: Find and Ban MAC Addresses on a PHP Game
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 932
Trades: 7
It's not really possible with PHP to get the MAC address of a remote users machine.

Funnily enough, I run a browser based game (see my sig) and I have the ame probem, banning users is hard - you can do it by IP, ip range, or even by ISP.. but each one of those exludes a large group of players than you will want to exclude.

Its a problem for online games and the only solution I can suggest is good, active ingame moderation.

All the best,
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Old 03-17-2008, 01:42 PM Re: Find and Ban MAC Addresses on a PHP Game
Entanio's Avatar
Novice Talker

Posts: 5
Name: Ashley
Trades: 0
I talked to a pro. He said it was possible, but he didn't know how to do it.
__________________
-------------
Entanio
Respect is Earnt not Bought
Entanio is offline
Reply With Quote
View Public Profile Visit Entanio's homepage!
 
Old 03-17-2008, 01:45 PM Re: Find and Ban MAC Addresses on a PHP Game
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 932
Trades: 7
I'm a PHP software developer, for a living - have been for years

It is not possible.. or atleast if it is then it's news to me and I will accept it when I see it and learn from it

MAC addresses arent part of the TCP/IP layer as far as I'm aware? And PHP cannot get info from a remote users machine regarding hardware, only software - so yeah, its not possible. Sorry
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Old 03-17-2008, 03:09 PM Re: Find and Ban MAC Addresses on a PHP Game
Average Talker

Posts: 27
Trades: 0
Sir P is correct. You can only get a MAC address from a computer on the same subnet as you. You would need to do an arp request and these are generally not relayed beyond the local subnet as it's a layer 2 activity.

So basically, unless you've got your users on the same subnet as your webserver, it's not possible.

My english isn't that good, so when I say subnet, I mean same physical network, like a LAN or such. No routers or gateways inbetween clients and server.

By the way, I've just looked at your "xyber wars" game, nice! All your own work? Do you do freelance stuff?
sheanie is offline
Reply With Quote
View Public Profile
 
Old 03-18-2008, 12:59 PM Re: Find and Ban MAC Addresses on a PHP Game
Entanio's Avatar
Novice Talker

Posts: 5
Name: Ashley
Trades: 0
Cool, Thanks guys.
__________________
-------------
Entanio
Respect is Earnt not Bought
Entanio is offline
Reply With Quote
View Public Profile Visit Entanio's homepage!
 
Old 03-18-2008, 03:43 PM Re: Find and Ban MAC Addresses on a PHP Game
Junior Talker

Posts: 3
Trades: 0
you can banned only ip address
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
pwittaya is offline
Reply With Quote
View Public Profile Visit pwittaya's homepage!
 
Reply     « Reply to Find and Ban MAC Addresses on a PHP Game
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75910 seconds with 12 queries