<?PHP
/*

[ Alternative Installation. ]

IF you have trouble with CHMOD on your server you can install by configuring this file with the information commented below.

After done - visit phprealestate/install/alt_install.php in your web browser to install.

Ignore any text which is commented out with a double forwardslash : ( // )

*/

$host           = "localhost";  //Host (often this can be "localhost", "mysql" or an IP number).
$user           = "dbusername"; //Database username (on Cpanel servers, this is prefixed with your FTP username and seperated with an underscore (ftpusername_dababaseusername).
$pass           = "dbpassword"; //Database password.
$database       = "db_name";    //Database name.

$admin_username = "admin";      //Admin panel desired username
$admin_password = "password";   //Admin panel desired password

//---------------------------------------------------------
//DONE
//---------------------------------------------------------

$con            = @mysql_connect("$host","$user","$pass");
$db             = "$database";
@mysql_select_db($db, $con);

//ADJUST THE PATHS BELOW TO MATCH THE DIRECTORY/URL FOR YOUR SERVER TO THE PhpRealEstate FOLDER

$svr_rootscript = "/home/user/public_html/phprealestate";
$svr_urlscript = "http://www.yourdomain.com/phprealestate";
?>
