chris smith wrote:
On 4/25/07, Nathaniel Hall [EMAIL PROTECTED] wrote:
Davi wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
output. I have
@lists.php.net
Subject: [PHP] Find MAC Address in PHP
Hi all,
I am attempting to find the MAC address of systems visiting
my page from
the local LAN. I have tried several things, but it appears
it will not
let me run system commands. For example, running ?php $MAC =
system(arp 192.168.200.254
On 4/23/07, Davi [EMAIL PROTECTED] wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
output. I have copied arp to a place that the apache user can
Em Terça 24 Abril 2007 10:07, Tijnema ! escreveu:
On 4/23/07, Davi [EMAIL PROTECTED] wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
On 4/24/07, Davi [EMAIL PROTECTED] wrote:
Em Terça 24 Abril 2007 10:07, Tijnema ! escreveu:
On 4/23/07, Davi [EMAIL PROTECTED] wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254);
Em Terça 24 Abril 2007 10:49, Tijnema ! escreveu:
On 4/24/07, Davi [EMAIL PROTECTED] wrote:
How you'll type your root pwd? =P
Something with the proc_* functions as you need bi-directional streams
(input/output). Something like this: (not tested, partly copied form
example 1926)
?php
On 4/24/07, Tijnema ! [EMAIL PROTECTED] wrote:
On 4/24/07, Davi [EMAIL PROTECTED] wrote:
Em Terça 24 Abril 2007 10:07, Tijnema ! escreveu:
On 4/23/07, Davi [EMAIL PROTECTED] wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall
Richard Lynch wrote:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
I am attempting to find the MAC address of systems visiting my page
from
the local LAN. I have tried several things, but it appears it will
not
let me run system commands. For example, running ?php $MAC =
system(arp
Davi wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
output. I have copied arp to a place that the apache user can execute
from and ensured
Hi.
Sorry for my bad english. :(
Maybe you could write a simple deamon program in C or even in PHP to be run as
root. The function of this deamon program is to listen to a port (eg. 1)
and you could fsockopen it and send the IP address of the client computer and
the deamon returns the MAC
Nathaniel Hall wrote:
Davi wrote:
I know it can be done because I have a Fedora Core 4 system doing it
right now. I didn't have to do anything special for it to work. The
system I am working on now is a Fedora Core 6 box. In
/var/log/messages I receive:
Apr 24 09:33:51 STUAUTH kernel:
On 4/24/07, chris smith [EMAIL PROTECTED] wrote:
On 4/24/07, Tijnema ! [EMAIL PROTECTED] wrote:
On 4/24/07, Davi [EMAIL PROTECTED] wrote:
Em Terça 24 Abril 2007 10:07, Tijnema ! escreveu:
On 4/23/07, Davi [EMAIL PROTECTED] wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On 4/25/07, Nathaniel Hall [EMAIL PROTECTED] wrote:
Davi wrote:
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
output. I have copied arp to a place
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
output. I have copied arp to a place that the apache user can execute
from and ensured arp is
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
I am attempting to find the MAC address of systems visiting my page
from
the local LAN. I have tried several things, but it appears it will
not
let me run system commands. For example, running ?php $MAC =
system(arp 192.168.200.254);
]
To: php-general@lists.php.net
Sent: Friday, April 20, 2007 10:00 PM
Subject: [PHP] Find MAC Address in PHP
Hi all,
I am attempting to find the MAC address of systems visiting my page from
the local LAN. I have tried several things, but it appears it will not
let me run system
Sent: Saturday, April 21, 2007 9:10 AM
Subject: Re: [PHP] Find MAC Address in PHP
The OP said he wants MACs for the machines on his local LAN. In that
case I don't think he would have meet the things you said.
greets
Zoltán Németh
2007. 04. 21, szombat keltezéssel 07.49-kor Satyam ezt írta
Hi all,
I am attempting to find the MAC address of systems visiting my page from
the local LAN. I have tried several things, but it appears it will not
let me run system commands. For example, running ?php $MAC =
system(arp 192.168.200.254); echo $MAC; ? does not give me any
output. I
Usually arp on Linux requires the user to be logged in as root. If you
can run it, try this:
?
ob_start();
passthru('arp '.$ip_addr);
$MAC = ob_get_contents();
ob_end_clean();
?
On 4/20/07, Nathaniel Hall [EMAIL PROTECTED] wrote:
Hi all,
I am attempting to find the MAC address of
.
Satyam
- Original Message -
From: Nathaniel Hall [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Friday, April 20, 2007 10:00 PM
Subject: [PHP] Find MAC Address in PHP
Hi all,
I am attempting to find the MAC address of systems visiting my page from
the local LAN. I have tried
20 matches
Mail list logo