Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Menu and Security » hiding control.inc database connection details
Re: hiding control.inc database connection details [message #589 is a reply to message #588] Sun, 04 February 2007 18:48 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
It is not usual to have more than one MySQL server on a single PC, which is why I have never implemented that option. You could try creating a new variable called $GLOBALS['dbport'] and adding that to the argument list in the connect() method. Let me know if it works and I'll add it to the standard code.

The values for $GLOBALS['dbusername'] and $GLOBALS['dbuserpass'] have got to be maintained somewhere, but to keep them secure on a public server you should put your INCLUDES directory (which contains the CONFIG.INC file) outside of your web root.


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multi-page Wizards
Next Topic: Adding membership subscription functionality to RBAC
Goto Forum:
  


Current Time: Mon Apr 29 12:03:53 EDT 2024

Total time taken to generate the page: 0.01184 seconds