IFAEDI / S.I

Mise en place d'un S.I avancé pour l'AEDI
3 stars 2 forks source link

[Login] Correction du nom de la variable REMOTE_ADDR #49

Closed PandiPanda69 closed 11 years ago

PandiPanda69 commented 11 years ago

Une typo dans le nom de la variable: REMOTE_ADD au lieu de REMOTE_ADDR.

bnjbvr commented 11 years ago

Dans quel cas l'erreur arrive-t-elle?

PandiPanda69 commented 11 years ago

Si jamais tu saisis un mauvais couple user/mot de passe.

2013/2/14 Benjamin Bouvier notifications@github.com

Dans quel cas l'erreur arrive-t-elle?

— Reply to this email directly or view it on GitHubhttps://github.com/IFAEDI/S.I/pull/49#issuecomment-13557597.

bnjbvr commented 11 years ago

Effectivement, ça corrige. Observons /var/log/apache2/error.log:

[Thu Feb 14 17:50:40 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: REMOTE_ADD in /lalalalala/forks/my/commun/ajax/login.cible.php on line 46, referer: http://localhost/index.php

FUSION!