Fwd: Konqueror + REMOTE_ADDR + php

Aaron J. Seigo aseigo at kde.org
Sat Dec 13 09:04:48 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 13 December 2003 01:36, David Faure wrote:
> Anyone knows something about this? Please CC eric at cgt.fr
>
> I have a problem with variable REMOTE_ADDR into script PHP.
> // printf("R_A : %s", $_SERVER["$REMOTE_ADDR"] );

of course, this should be: $_SERVER['REMOTE_ADDR']

> This variable is empty only with konqueror 3.1.3.
> With other navigator (Netscape, Mozilla, ...) no problem.
> Do you have an idea ?

$REMOTE_ADDR and $_SERVER['REMOTE_ADDR'] are apache variables; AFAIK it has 
nothing to do with the browser...

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/2tYx1rcusafx20MRAu9HAJ9E2hx+Bdlpw7urCD+gtj9Fqenk7gCgic9V
Ac7FxwI94gXA1aSl50ShCUQ=
=oqcT
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list