Re: [PHP] Find MAC Address in PHP

2007-04-26 Thread Nathaniel Hall
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: >> >>> >>> does not give me any >>> output. I have copied arp to a place that the apache use

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread chris smith
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: >> >>> >>> does not give me any >>> output. I have copied arp to a place that the apache user can execute >>> fr

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Tijnema !
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

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Lori Lay
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: au

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Puskás Zsolt ( Errotan )
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 a

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Nathaniel Hall
Davi wrote: Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu: On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote: does not give me any output. I have copied arp to a place that the apache user can execute from and ensured arp is executable. Use exec and the extra arg

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread 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 " does not give me any

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread chris smith
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, Na

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Davi
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) >

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Tijnema !
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: > > > > > > > > does not give me any

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Davi
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: > > > > > > > > does not give me any > > > > output. I have copied arp to a place

Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Tijnema !
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: > > > > does not give me any > > output. I have copied arp to a place that the apache user can execute > > from and ensured arp is executabl

RE: [PHP] Find MAC Address in PHP

2007-04-23 Thread Daevid Vincent
This may help you (find .tgz file at the page bottom): http://daevid.com/examples/dhcp/ This is a little web tool I use to see who is on my LAN D.Vin > -Original Message- > From: Nathaniel Hall [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 1:00 PM > To: php-general@lists.ph

Re: [PHP] Find MAC Address in PHP

2007-04-23 Thread Davi
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu: > On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote: > > > > does not give me any > > output.  I have copied arp to a place that the apache user can execute > > from and ensured arp is executable. > > Use exec and the extra args to get er

Re: [PHP] Find MAC Address in PHP

2007-04-21 Thread Richard Lynch
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 system("arp 192.168.200.254"); echo $MA

Re: [PHP] Find MAC Address in PHP

2007-04-21 Thread Satyam
Nathaniel Hall" <[EMAIL PROTECTED]>; 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, sz

Re: [PHP] Find MAC Address in PHP

2007-04-21 Thread Zoltán Németh
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: > Don't bother, if you manage to get a MAC, it won't be that of the client > machine i

Re: [PHP] Find MAC Address in PHP

2007-04-20 Thread Satyam
Don't bother, if you manage to get a MAC, it won't be that of the client machine in the majority of cases since the IP you get for the request is not, in most cases, the one for that machine, but that of the proxy, router and zillion of other things that step in the middle and change the IP. S

Re: [PHP] Find MAC Address in PHP

2007-04-20 Thread Daniel Brown
Usually arp on Linux requires the user to be logged in as root. If you can run it, try this: On 4/20/07, Nathaniel Hall <[EMAIL PROTECTED]> wrote: 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 appear