473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Detect MAC address with PHP

Is there some way can detect MAC address with PHP? any help will be
appreciate.

Ben
Oct 12 '05 #1
10 25600
Ben Xia said the following on 12/10/2005 17:34:
Is there some way can detect MAC address with PHP? any help will be
appreciate.


MAC address of your clients, or the machine you're running on?

If you're talking about clients, then that's impossible unless they're
running on the same local network as the server (i.e. connected to the
same router, in which case you can use command-line "arp -a xx.xx.xx.xx"
in Win, or some equivalent in *nix).


--
Oli
Oct 12 '05 #2
Thanks for the very quick reply, I want to know the mac address of my
clients as I guess these is the best way to fight with internet fraud.
Too sad according your answer seems no way to detect the remote mac
address... as you know to detect the ip address is not very useful... so is
there some better way to detect the fraud? my website has lost 2000 dollars
as some guy are using stolen credit card and do repeat order from different
ip address and different account...

Ben

"Oli Filth" <ca***@olifilth.co.uk> wrote in message
news:r_***************@newsfe5-win.ntli.net...
Ben Xia said the following on 12/10/2005 17:34:
Is there some way can detect MAC address with PHP? any help will be
appreciate.


MAC address of your clients, or the machine you're running on?

If you're talking about clients, then that's impossible unless they're
running on the same local network as the server (i.e. connected to the
same router, in which case you can use command-line "arp -a xx.xx.xx.xx"
in Win, or some equivalent in *nix).


--
Oli

Oct 12 '05 #3
Ben Xia said the following on 12/10/2005 17:49:
Thanks for the very quick reply, I want to know the mac address of my
clients as I guess these is the best way to fight with internet fraud.
Too sad according your answer seems no way to detect the remote mac
address... as you know to detect the ip address is not very useful... so is
there some better way to detect the fraud? my website has lost 2000 dollars
as some guy are using stolen credit card and do repeat order from different
ip address and different account...


Unless you have some way of identifying stolen credit card numbers, how
do you expect to be able to protect against this? How would knowing MAC
addresses help?
--
Oli
Oct 12 '05 #4
On Wed, 12 Oct 2005 12:49:59 -0400, Ben Xia wrote:
Thanks for the very quick reply, I want to know the mac address of my
clients as I guess these is the best way to fight with internet fraud.
Too sad according your answer seems no way to detect the remote mac
address... as you know to detect the ip address is not very useful... so is
there some better way to detect the fraud? my website has lost 2000 dollars
as some guy are using stolen credit card and do repeat order from different
ip address and different account...

Ben

"Oli Filth" <ca***@olifilth.co.uk> wrote in message
news:r_***************@newsfe5-win.ntli.net...
Ben Xia said the following on 12/10/2005 17:34:
Is there some way can detect MAC address with PHP? any help will be
appreciate.


MAC address of your clients, or the machine you're running on?

If you're talking about clients, then that's impossible unless they're
running on the same local network as the server (i.e. connected to the
same router, in which case you can use command-line "arp -a xx.xx.xx.xx"
in Win, or some equivalent in *nix).


--
Oli


MAC addresses can be faked

--
Hardware, n.: The parts of a computer system that can be kicked

The best way to get the right answer on usenet is to post the wrong one.

Oct 12 '05 #5
>>> MAC address of your clients, or the machine you're running on?

If you're talking about clients, then that's impossible unless they're
running on the same local network as the server (i.e. connected to the
same router, in which case you can use command-line "arp -a xx.xx.xx.xx"
in Win, or some equivalent in *nix).


--
Oli


MAC addresses can be faked


Yes, but except on wireless networks, it's usually not worth the
effort to try and fake one, because the mac address is only seen
by the local network. Even on wireless networks it only applies
to setups that have tried to lock access to a list of authorized
clients, and those systems probably are using WEP or WPA also.

Faking a MAC address can be as easy as (on FreeBSD):

ifconfig fxp0 ether 01:23:45:67:89:ab

It's also easy on Linux (but the syntax may vary a bit), and Windows
XP has a GUI blank to fill in to change it. The UNIX commands
aren't permanent: you have to run them on each boot, so you stick
them in a startup command script. The XP GUI arranges that the
setup is changed every boot.
Gordon L. Burditt
Oct 12 '05 #6
so is there some better way to detect the fraud? my website has lost 2000
dollars as some guy are using stolen credit card and do repeat order from
different ip address and different account...


Your best bet is to use a processing company that will offer you some form
of seller protection, so that when a stolen card is used, the processing
company or the credit card company (not you) will refund the victim. If you
can't find such a company, you may want to purchase fraud or theft
insurance, which will compensate you for stolen amounts.

Good luck,

ECRIA
http://www.ecria.com

Oct 12 '05 #7
> > so is there some better way to detect the fraud? my website has lost
2000
dollars as some guy are using stolen credit card and do repeat order from different ip address and different account...


Your best bet is to use a processing company that will offer you some form
of seller protection, so that when a stolen card is used, the processing
company or the credit card company (not you) will refund the victim.


Does any payment processing company offer such protection? It must be
amazingly expensive, surely?
Oct 13 '05 #8
"Ben Xia" <be*@jetcom.com> writes:
Thanks for the very quick reply, I want to know the mac address of my
clients as I guess these is the best way to fight with internet fraud.
Why it would be the best way ?

The MAC address of the networking card cna be changd on many
network adapter cards.
Too sad according your answer seems no way to detect the remote mac
address... as you know to detect the ip address is not very useful... so is
there some better way to detect the fraud? my website has lost 2000 dollars
as some guy are using stolen credit card and do repeat order from different
ip address and different account...


I don't know a solution for this.

--
Tomi Engdahl (http://www.iki.fi/then/)
Take a look at my electronics web links and documents at
http://www.epanorama.net/
Oct 13 '05 #9
You should also consider GeoIP to check the Country of the CC matches the
location where the details are being submitted from.
"Ben Xia" <be*@jetcom.com> wrote in message
news:CW******************@nnrp.ca.mci.com!nnrp1.uu net.ca...
Is there some way can detect MAC address with PHP? any help will be
appreciate.

Ben

Oct 17 '05 #10

"Joe90" <bo******************@hotmail.com> wrote in message
news:dj**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
You should also consider GeoIP to check the Country of the CC matches the
location where the details are being submitted from.


I see the logic, but this could stop legitimate transactions. For instance
when I visit a hotel in Switzerland I pay for internet access using my UK
credit card...
James.
Oct 18 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

117
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
6
by: Adam Warner | last post by:
Hi all, Is this a (C99) portable way to detect whether the C stack grows upwards (1) or downwards (-1)? #include <stdio.h> int stack_direction=0; void detect_stack_direction(void *...
5
by: Vijay | last post by:
Hi all, i have TCP client server application written in C# using async socket methods, eg BeginReceive(), BeginEnd() etc server is continuesly running in the background, client connect to...
0
by: Richard | last post by:
I'm connecting to a DHCP network and can detect when the network is connected, but I need to wait for the IP address to be assigned before proceding to the next procedure call. Is there a windows...
7
by: Antoni Massó Mola | last post by:
Hi, I need to detect from which Country (City would be great) the user is connecting. Is there any free script for doing this in C#? Thanks
3
by: Richard Thornley | last post by:
Hello, I was just been given a project and I have some questions on how to accomplish the first part of the task. If a user sends an email to a specific email address I need to detect...
0
by: janverge | last post by:
Hi anyone. I am facing a bit of a difficulty looking for the correct answer. i tried using DirectoryEntry("WinNT://<computername>").. but I can't detect the IP address from the list gathered.. any...
5
by: Ke Tao | last post by:
HI All, Is there anybody have an idea of how to detect internet is reachable ? At present , I'm using ping to detect internet is reachable , but it's maybe a bad idea , some firewall of router...
11
by: mp- | last post by:
I want to be able to allow people to check their email from my PHP online application. Given only the users 1) email address, 2) username (if applicable) and 3) password - how can I auto detect...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.