# Envairoment variables

- Thread: https://externals.io/message/5112
- Original archive: https://news-web.php.net/php.internals/5112
- Started by Ivan Rodriguez on 2003-10-30T14:18:26+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #5112 — Ivan Rodriguez — 2003-10-30T14:18:26+00:00

URL: https://externals.io/message/5112#5112

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
epplestun@alaplaya.com

---

## #5115 — Filip de Waard — 2003-10-30T14:50:24+00:00

URL: https://externals.io/message/5112#5115 · In reply to: #5112

> I want to make a code that gives the MAC address of the visitor

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

---

## #5117 — Derick Rethans — 2003-10-30T15:18:28+00:00

URL: https://externals.io/message/5112#5117

> What I want to know is the code that gives the REMOTE_ADDR nothing else, in
> which file this that code?¿

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

-- 
"Interpreting what the GPL actually means is a job best left to those
                    that read the future by examining animal entrails."
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/

---

## #5119 — Derick Rethans — 2003-10-30T15:44:11+00:00

URL: https://externals.io/message/5112#5119

> 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

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

-- 
"Interpreting what the GPL actually means is a job best left to those
                    that read the future by examining animal entrails."
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/

---

## #5120 — Ivan Rodriguez — 2003-10-30T15:50:54+00:00

URL: https://externals.io/message/5112#5120 · In reply to: #5119

oks thx
----- Original Message -----
From: "Derick Rethans" <derick@php.net>
To: "Ivan Rodriguez" <epplestun@alaplaya.com>
Cc: "php-dev" <internals@lists.php.net>
Sent: Thursday, October 30, 2003 4:44 PM
Subject: Re: [PHP-DEV] Envairoment variables


> 
>
> > […]
>
> 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
>
> --
> "Interpreting what the GPL actually means is a job best left to those
>                     that read the future by examining animal entrails."
> -------------------------------------------------------------------------
>  Derick Rethans                                 http://derickrethans.nl/
>  International PHP Magazine                          http://php-mag.net/
