]> jfr.im git - irc/gameservirc.git/commitdiff
Added a php directory where I will be adding a script to parse through the players...
authorkainazzzo <redacted>
Mon, 6 Mar 2006 18:22:06 +0000 (18:22 +0000)
committerkainazzzo <redacted>
Mon, 6 Mar 2006 18:22:06 +0000 (18:22 +0000)
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@403 bc333340-6410-0410-a689-9d09f3c113fa

gameserv/php/install.php [new file with mode: 0644]
gameserv/php/mysql.php [new file with mode: 0644]

diff --git a/gameserv/php/install.php b/gameserv/php/install.php
new file mode 100644 (file)
index 0000000..8dddf4d
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+    include ('mysql.php');
+
+    $query = "
+?>
\ No newline at end of file
diff --git a/gameserv/php/mysql.php b/gameserv/php/mysql.php
new file mode 100644 (file)
index 0000000..b46ca16
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+    include ('config.php');
+    $link = mysql_connect("$mysqlhost", "$mysqluser", "$mysqlpassword") or die ('Couldn't connect: ' . mysql_error());
+    mysql_select_db("$mysqldatabase") or die ('Could not select database: ' . mysql_error());
+?>
\ No newline at end of file