[Toolserver-l] Hemlock - Data base password outside program code.

Purodha B Blissenbach toolserver-l.wikipedia.org at publi.purodha.net
Mon Sep 18 12:25:23 UTC 2006


DaB. writes:

>  ..., you should never insert a password (for mysql or something) in your reposory.

At
http://hemlock.knams.wikimedia.org/~purodha/sample/dbaccess.php?uselang=en 
there is a demo php application accessing the data base server
without a need to know a passport.
Click the "progam source" link, and inspect function dbaccess()
It reads your .my.cnf file. Error handling is limited.

Greetings.

Purodha





More information about the Toolserver-l mailing list