diff options
Diffstat (limited to 'central/trunk/install.php')
| -rw-r--r-- | central/trunk/install.php | 7 |
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 | ?> |
