]> git.donarmstrong.com Git - infobot.git/commitdiff
template
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 16 Feb 2005 18:27:37 +0000 (18:27 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 16 Feb 2005 18:27:37 +0000 (18:27 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1118 c11ca15a-4712-0410-83d8-924469b57eb5

www/htdocs/inc/mysql.inc.tmpl [new file with mode: 0644]

diff --git a/www/htdocs/inc/mysql.inc.tmpl b/www/htdocs/inc/mysql.inc.tmpl
new file mode 100644 (file)
index 0000000..d1eff8f
--- /dev/null
@@ -0,0 +1,11 @@
+<?
+$db_hostname="moby";
+$db_username="blootbot";
+$db_password="password";
+$db_name="blootbot";
+
+        if (! ($db_handle=@mysql_connect($db_hostname,$db_username,$db_password)) || ! @mysql_select_db($db_name)) {
+        echo "<!-- MSQL ERROR! -->";
+        }
+
+?>