Skilled Illusionist
- Joined
- Jun 30, 2011
- Messages
- 326
- Reaction score
- 9
So i have came across this many times but I have fixed it before. But i used a older version of Xamp. I am now using the newer version of it. but this come with Php 7. I have read that New version of PHP does not support mssql. This is the code of The config I am still learning about php and SQL if anyone has any solution of fixing this or know how to recode it i would really want to learn it. Google kinda is hard find the answer
PHP:
<?php
//Act GunZ Online By Sparrow
$link = mssql_connect("\SQLEXPRESS","sa","password");
mssql_select_db("GunzDB");
$opened = 1;
if($opened == 0){
header("Location: Maintenance.php");
}
//Act GunZ Connected
$DBHost = '; //Sparrow SQL
$DBUser = 'sa'; //Your DB User
$DBPass = 'password'; //Sparrow Senha
$DB = 'GunzDB'; //Sparrow GunZ DB
//Configurações "Ultimas Do Fórum"
$link25 = "http://link/forum/"; //Link do seu forum!
$server = "localhost"; //Nome do servidor do Mysql (Padrão:localhost)
$dbnamef = "forum"; // Indique o nome do banco de dados (Database do fórum)
$usuario = "root"; // Indique o nome do usuário que tem acesso
$password = "senha mysql"; // Indique a senha do usuário
$mode = "off"; //Se o modo estiver "on" é porque esta ativado, se tiver "off" é porque esta desativado
?>