MySQL Forums
Forum List  »  PHP

Re: php and mysql connect problems
Posted by: Jonathan Stephens
Date: April 30, 2005 10:21AM

> PS - be wary of setting your database credentials (username, password etc.) in your script, as this
> can leave them exposed to 'bad guys'.

Absolutely agree with this -- you should always keep these values in a separate include file which is (ideally) in a directory that's not accessible from the Web.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: php and mysql connect problems
April 30, 2005 10:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.