actually you can make a .php file with your connection info, include it in
your .php files at the top and encrypt that one file (they don't need to see
it anyway).  use a php encoder for the file with your login info in it.

-----Original Message-----
From: 1LT John W. Holmes [mailto:holmes072000@;]
Sent: Wednesday, November 06, 2002 4:16 PM
To: William Trappeniers; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] MySQL password protection?

> I was wondering if it is possible to protect my password to the
> from being in a PHP-script.  Now I can't do that, so everybody who gets to
> see my php-sourcecode also can see my (not protected/not encrypted)
> password.
> How can I change this?

You can't, unless you want to put it in php.ini or a my.conf file...

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to