Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread @ Edwin
True. But I think you missed the point of the original question--there's no "non-web directory"... - E > >To take it to another level, place the PHP file you >are including in a non-web directory. That way, just >in case the web server mucks up, there's no chance of >PHP outputting the contents

Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread Edwin @
Well, I'm not sure if this is what you're looking for but... if you name the file with a .php extension (instead of .txt or .inc) then your password is "protected". For example, you have a password declared like this: $my_db_username = 'MyUserName'; $my_db_password = 'MyPassWord'; And it'