473,569 Members | 2,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 25614
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!nnr p1.uunet.ca...
Is there some way can detect MAC address with PHP? any help will be
appreciate.

Ben

Oct 17 '05 #10

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

Similar topics

117
11767
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
6
2532
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 * stack_start) {
5
16911
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 server and recives data from server. If server application shuts down client immedeatly recieves disconnection or exception, but im not able to detect if...
0
878
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 message or something I can use to detect when the IP address is assigned? Be gentle. I'm new to C++ and .NET. :)
7
7151
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
1819
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 that
0
1977
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 help or suggestion is greatly appreciated.. You can email me at jan@satoasiapacific.com... lots of thanks.. Merry Christmas
5
2697
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 may block ping requesting. Best Regards, Ke Tao
11
10706
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 a remote IMAP/POP3 server so that I can connect and fetch mail for the user. (Ultimately, I don't want users to have to know what the IMAP/POP3...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8125
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.