about summary refs log tree commit diff stats
path: root/central/trunk/install.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-07-26 14:32:57 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-07-26 14:32:57 +0000
commita6752bccf2ae0ce1f330ba9de02eafdb8e39916c (patch)
treec9311c639cd48dd2498429495a48c1bb61f85981 /central/trunk/install.php
parent3741a16e708fb022d6d05f353c581af831bedf3e (diff)
downloadinstadisc-a6752bccf2ae0ce1f330ba9de02eafdb8e39916c.tar.gz
instadisc-a6752bccf2ae0ce1f330ba9de02eafdb8e39916c.tar.bz2
instadisc-a6752bccf2ae0ce1f330ba9de02eafdb8e39916c.zip
Continued working on install.php
Diffstat (limited to 'central/trunk/install.php')
-rw-r--r--central/trunk/install.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/central/trunk/install.php b/central/trunk/install.php index f689875..d04e99b 100644 --- a/central/trunk/install.php +++ b/central/trunk/install.php
@@ -9,12 +9,13 @@ if (!isset($_GET['step']))
9{ 9{
10 if (!mysql_connect($_POST['host'], $_POST['username'], $_POST['password'])) 10 if (!mysql_connect($_POST['host'], $_POST['username'], $_POST['password']))
11 { 11 {
12?>Oops! Something went wrong!<?php exit(); 12?>Cannot connect to your database server! Please verify you typed you host, username and password correctly. <A HREF="./install.php">Back</A><?php exit();
13 } 13 }
14 if (!mysql_select_db($_POST['name'])) 14 if (!mysql_select_db($_POST['name']))
15 { 15 {
16?>Oops! Something went wrong!<?php exit(); 16?>Cannot connect to your database! Please verify that the database you specified already exists and that you spelled it correctly. <A HREF="./install.php">Back</A><?php exit();
17 } 17 }
18}
19 18
19?>Congradulations! You've successfully set up your InstaDisc Central Server's database! Now, the next step for you is to implement the functions in instadisc.php into your web application. Read README.txt for more information.<?php
20}
20?> 21?>