>How do you keep MySQL password out of view of "visitors" when needed in 
>PHP to access the db. The password is in plain english in all the php 
>files, and can be easily downloaded by anyone.

PHP is parsed so should show the password etc to the world. It's better to 
use an include and put that file outside the document root. So Apache can't 
serve but PHP can include.. Just in case someone start playing with apache 
settings and .php files are shown as textfile..

Bye the way, this question does belong on one of the PHP lists..

Bye,


B.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to