Writing an installer using codigniter
Posted
by RobertWHurst
on Stack Overflow
See other posts from Stack Overflow
or by RobertWHurst
Published on 2010-05-16T21:04:37Z
Indexed on
2010/05/16
21:10 UTC
Read the original article
Hit count: 151
I'm just about finished my first release of automailer, a program I've been working on for a while now. I've just got to finish writing the installer. Its job is to rewrite the codigniter configs from templates. I've got the read/write stuff working, but I'd like to be able to test the server credentials given by the user without codingiter throwing a system error if they're wrong. Is there a function other than mysql_connect that I can use to test a connection that will return true or false and won't make codeigniter have a fit?
© Stack Overflow or respective owner