Wenn ich auf meine Startseite 127.0.0.1/Shop gehe kommt folgende Fehlermeldung:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: (Mein PC)/SQLEXPRESS in C:\xampp\htdocs\Shop\login.php on line 27
Cannot connect to MSSQL Server.
Das ist die Zeile 27 von meiner login.php:
$mssql_con = mssql_connect($mssql_server, $mssql_username, $mssql_password);
Meine config.php:
PHP Code:
<?php
/*****************************************
** Flyff Earthquake v4.0 **
** inc/config.php **
** Created by Treachery. **
*****************************************/
$enable_shop = true; //Whether the shop is open or not. default: true
$mssql_server = "(Mein PC)/SQLEXPRESS"; //MSSQL server and instance; ex: (COMPUTERNAME\SQLEXPRESS); default ".\SQLEXPRESS"
$mssql_username = "sa"; //MSSQL username; default "sa"
$mssql_password = "Mein Passwort"; //MSSQL password; default ""
$mssql_db['account'] = "ACCOUNT_DBF"; //Account database; default "ACCOUNT_DBF"
$mssql_db['character'] = "CHARACTER_01_DBF"; //Character database; default "CHARACTER_01_DBF"
$shopurl = "C:/xampp/htdocs/Shop/index.php"; //Base shop URL; default "./index.php"
$shop_title = "FlyffEarthquake v4"; //Title of the shop (when shown in a browser); default "FlyffEarthquake v4"
$new_window = true; //If set to true, upon logging in, the main shop will open in a popup window.
$editor_list = array("test","test2"); //Accounts allowed to edit the shop. There is no limit. "test","test2","test3"; default "test","test2"
$enable_edit = true; //Whether the shop is available for editing (mainly for demo site use); default true
$enable_search = true; //Whether the shop will allow searching or not; default true
$client_salt = "kikugalanet"; //Your client's salt; default "kikugalanet"
$cash_row = "cash"; //row that stores cash points (in ACCOUNT_TBL); default "cash"
$cash_name = "dPoints"; //Name of cash currency; default "dPoints"
$cash_name_min = "dP"; //Shortened version of cash currency; default "dP"
$popular = 0; //Popular item. Set to the list ID of an item, 0 to show the most purchased item; default 0
$paragraph['notice'] = 'All though some Flyff Premium Shop items can be purchased with "Penya", quite a bit of these Premium Items cannot be acquired with "Penya", instead, you must purchase gPoints. To purchase gPoints, you may choose from several separate payment options.<br/><span class="highlight">There is NO REFUND for gPoints!</span><br/>
For inqueries regarding Billing, please contact us at <a href="mailto:
">
</a>.'; //Notice paragraph on the main page
$paragraph['warning'] = 'Do not disclose to anyone your personal billing information and history. Doing so places yourself <br/>at risk of fraud. All accounts found to be fraudulent and/or in violation of our Terms of Sevice is<br/> subject to immediate termination without compensation. All violators will be prosecuted and <br/>punished to the full existant of federal and state laws.</p>
<p><b>Attention!</b><br/>Please be aware that we, ExampleServer, will limit/restrict any players via IP (meaning they
will no longer be able to connect and play on Example Flyff) due several reasons, such as banishment due to common hacking areas or fradulent transactions from a location.'; //Warning paragraph on the main page
$max_items = 6; //Max items per page; default 6
$max_list = 10; //Max number of pages to link at the bottom; default 10
$max_panel_list = 8; //Max items to be listed per page in the panel; default: 8
$show_count=array('G','H','I','J','K','L','P','X','Y'); //Pages to show item counts on by the name; default 'G','H','I','J','K','L','P','X','Y'
$gift_title = false; //If the player is sending an item as a gift, the "ITEM DETAILS" header will read "SEND GIFT"; default false
if(stristr($_SERVER['PHP_SELF'], "config.php"))
header("Location: ../");
?>
PS.: Habe Xampp Version 1.6.8 bis 1.7.3 durchprobiert selbes ergebnis und in der php.ini von Xampp mssql aktiviert. Vielen Danke im Vorraus Justin






