> Hi Ben,
>
> Try:
>
> /* notice the backtics, and that arp on linux usually needs to run as root
Which means that you either have to install sudo, or set the suid bit.
> */
> $arpoutput = `/sbin/arp -a`;
Do a "man arp" on linux to see what form of the arp command you want.
It's a while since I
> -Original Message-
> From: Ben Sagal [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 11, 2005 7:05 AM
> To: M. Sokolewicz
> Cc: Rory Browne; php-general@lists.php.net
> Subject: Re: [PHP] Get Mac Address
>
>
> I did mention this is an INTRANET server
I did mention this is an INTRANET server so all clients are be local,
there are no router between the clients and the server.
how would i go about accessing arp from php, (the server runs Linux)?
Ben
On 10/10/05, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> That will give you the *local* mac addre
On 10/10/05, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> That will give you the *local* mac address, not that of the user
> visiting your page. The problem is the fact that the mac address is not
> sent as part of the REQUEST. As such it's not possible for PHP to find
> out what it is. So, unfortuna
Andrew
- Original Message -
From: "M. Sokolewicz" <[EMAIL PROTECTED]>
To: "Rory Browne" <[EMAIL PROTECTED]>
Cc: "Ben Sagal" <[EMAIL PROTECTED]>;
Sent: Sunday, October 09, 2005 11:52 PM
Subject: Re: [PHP] Get Mac Address
That will give you the
That will give you the *local* mac address, not that of the user
visiting your page. The problem is the fact that the mac address is not
sent as part of the REQUEST. As such it's not possible for PHP to find
out what it is. So, unfortunately, no. (Though it's a very common
question on this list
On unix
man arp
on windows
arp/h
arp/help
arp/?
sorry for short and sweet resp, but I'm falling asleep.
On 10/9/05, Ben Sagal <[EMAIL PROTECTED]> wrote:
> I have a local intranet server, running apache1.3+php4. Is it
> possible to get the mac address of computes which access on of my php
> page
7 matches
Mail list logo