Hi Robin and List!
I've updated a bit you code, Robin, and put all the related functions inside a distinct library. My first tests with the "http" authentication mode are fine :)
But I've got a question: imagine that the script detects the user is behind a proxy but can't get the true ip of this user. What should we do in this case? (Currently, the script allow the user to log in).
BTW what do you think of adding some warning in the documentation about this feature because it's a security mechanism for phpMyAmin only and not for MySQL itself and I'm afraid some end-users would be a bit confused else.
Loïc
______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif