Hello Michael That's why we use the Zend encoder for additional security. If that is out of your budget, I suggest compiling the password into an extension. Remember to unset all variables which contain passwords after they are used, otherwise a print_r($GLOBALS); could reveal everything. Regards, john "Michael" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How can you hide database login passwd in your script? > > I hate having to have scripts with passwords in it that can be viewed by > others. > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]