Thank you warmly Petko for your help.
The code you suggested to be added...
if($_SERVER['REMOTE_ADDR'] == '127.0.0.1') { # your IP address here
$_POST['authpw'] = 'xxx'; # the admin password
}
... works fine.
Considering your second answer about security issues to be taken in
account, I'm now trying your Persistent login recipe rather instead of
the ip based solution I was asking help for.
Merci ;)
Gilles.
--
---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | [email protected]
---------------------------------------
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users