/instructions for install xampp and sqlsrv drivers
1- Download Xampp, install.
2- You need to know php version, thread-safe(in xampp is on) and php compiler(vc6 or vc9), do phpinfo().
3- Next, we need dll, so download them from
.4- Keep in mind that
53 -> php version(5.3.x)
ts -> Means that ts is enabled(THREAD-SAFE=enabled)
vc9 -> Compiler php is VC9
If your php version is 5.4 and compiler is VC9, we need php_sqlsrv_54_ts.dll(PHP 5.4 is compiled with VC9), paste the dll to xampp/php/ext and open php.ini(xampp/php), search for the line extension=php_xmlrpc.dll and add this line down extension=php_sqlsrv_54_ts.dll.
5- Start apache, if crashes that means you using wrong dll, if not try using this code:
PHP Code:
<?php
$serverName = "ipmssql or servername";
$connectionInfo = array( "Database"=>"PassportBOIOLD", "UID"=>"sa", "PWD"=>"passwordsa");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
if( $conn ) {
echo "Connection established.<br />";
$sql2 = "exec adduser 'username',0xa15b019f7ab9ba0e01482577acb76e90,'pro mpt','answer','truename',123123,'
',123123,' province','city',123123,'address',123123,0,'1998/01/01','qq',0xa15b019f7ab9ba0e01482577acb76e90";$stmt = sqlsrv_query( $conn, $sql2);
printf($stmt);
if( $stmt === false ) {
die( print_r( sqlsrv_errors(), true));
}
}else{
echo "Connection could not be established.<br />";
echo "<pre>";
die( print_r( sqlsrv_errors(), true));
echo "</pre>";
}
//phpinfo();
?>
If authenticate and connect it will reply, if not well you know.. Connection could not be established.. but that means the dll is the right one. If you still getting this connection cannot be established... open SQL management studio, login, right click on servername->properties->connection->enable "Allow remote conections", restart mssql service.

Start apache and mysql, create a new database (default is 'immortal'), unpack rar in xampp/htdocs, open db.sql and execute the query(mysql).
Go to application-immortal-config-database.php and edit for you right configs.
Go to application-immortal-config-constants.php and you can edit the client/patch path download and the server name.
If you use adduser(mssql) see bellow, then go to application-immortal-controller-website.php and edit this line
PHP Code:
$salt = "0x".$salt;
//Like this
//$salt = "0x".$salt;
Now go to the website, create a new account (login with the email) and check that the username is create too in the mssql db.
Go to mysql, check your id in users table, insert a new line in auth table.
userid = youruserid
priv = 1305
Relogin in the website and now you can add/remove notices.
Tips:
Go to application-immortal-config-config.php and add a new encryption_key, strong one.
If you already use mssql driver (not sqlsrv), go to application-immortal-config-database.php and change this line.
PHP Code:
$db['mssql']['dbdriver'] = 'sqlsrv';
//like this
$db['mssql']['dbdriver'] = 'mssql';
If you place your web in another folder go to application-immortal-config-config.php change base_url for the right path.
You can enable/disable mssql and mysql errors in application-immortal-config-database.php and change db_debug.
The site is worked in

Install PORTABLE version
Extract 7z file
Run setup_xampp.bat
Go to application-immortal-config-database.php and edit for you right configs.
Modify mssql adduser stored procedure
Start apache and try to register
Tested on SQL SERVER 2008 R2
Credits:

BTW Don't Buy AxelCro's Register page, He took everything from ******** and tried to sell it for 20$!
P.S I didn't see that Immortal Web Post here so I took it From

goodluck guys
******** IN LINK PROTECTION IS R A G E Z O N E (without spaces)






