Ver Mensaje Individual
  #11 (permalink)  
Antiguo 30/10/2003, 10:39
Avatar de epplestun
epplestun
 
Fecha de Ingreso: octubre-2001
Mensajes: 1.621
Antigüedad: 22 años, 4 meses
Puntos: 5
Bueno preguntando a los expertos ..... es imposible:
Cita:
Hi

I am looking for the code that generates the value of REMOTE_ADDR so that I want to make a code that gives the MAC address of the visitor and I am looking into http://lxr.php.net but I don´t found nothing, if some can help me ...

Regards

Iván Rodriguez Espada
_________________________
ALAPLAYA.COM
http://www.alaplaya.com
[email protected]
Cita:
The MAC address is only available on the same network, but you could
always read the headers (php.net/getallheaders). This is the wrong list,
BTW.

Regards, Filip de Waard
Cita:
Not in the PHP Source, you'll have to find the source of IE or Mozilla
in order to do something. This is something totally related to the
client side, and not to the serverside (apache, php, mysql).

Derick
Cita:
Ok, But if the REMOTE_ADDR is part of the client and it gives back a PHP variable to it, it is not possible to do the same with the MAC address
Cita:
Of course not, who is supposed to show PHP (on the server) the MAC
address? right, the CLIENT, or also called the Browser. Now, as this is
impossible UNLESS you hackup the browser... wrong list. (And killfile)

Derick
Cita:
IP addresses are machine identifiers in IP, so when someone makes an
http connection to you, you two establish a TCP/IP session and thus you
need to know the remote server IP address to make it work at all.

MAC addresses are part of the lower level ethernet protocol, and serve
as a way of direct neighbors (folks on the same ethernet segment) to
know who each other are. Thus, when you have a connection that crosses
any sort of network routing device (anything that does more than simply
forward packets), the MAC address does not get propogated. This is
simply 'The Way Things Work' (tm), and their is no changing it.

Of course a machine knows it's own MAC and a browser can set any header
field it want, but deciding what to send is up to the browser, not up
to PHP. I don't know of any browser that sends it's MAC address, but
regardless that is something that's up to the browser vendors, not PHP.

We understand what you are trying to do and you can't do it.

George
Pues eso jaja, soy un iluso jaja asi que no se puede.
__________________
Usuario registrado de Linux #288725

Última edición por epplestun; 30/10/2003 a las 11:10