Fatal Error: eregi() [function.eregi]: REG_BADRPT (# 1049) [message #745] |
Tue, 03 April 2007 13:58 |
bclark
Messages: 4 Registered: April 2007
|
Junior Member |
|
|
Hi all...
I receive the following error after clicking the Logon link on the main page of Radicore. Hopefully it's an easy database connection config issue, but I don't know where to fix it.
Fatal Error: eregi() [function.eregi]: REG_BADRPT (# 1049).
Error in line 49 of file '/var/www/html/invapp/includes/dml.mysqli.class.inc'.
Host Info: Localhost via UNIX socket
Server Version: 5.0.22
Client Info: 5.0.27, Client Encoding: latin1
Any help is greatly appreciated. Thanks in advance.
|
|
|
|
|
Re: Fatal Error: eregi() [function.eregi]: REG_BADRPT (# 1049) [message #748 is a reply to message #747] |
Tue, 03 April 2007 19:23 |
AJM
Messages: 2368 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
There is no built-in method of encrypting or hiding the password in the config.inc file, but why does there need to be? If you follow the instructions and place the INCLUDES directory outside the web root there is absolutely no way that anybody can view the contents of that file through their web browser. Only someone who has direct access to your server could see the contents of that directory, and therefore that file, so this should be secure enough.
I believe there are third party products which can encrypt or obfuscate your PHP files, such as Zend Guard, but I have never used them.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|