hola tengo este problema cargue una web en un host y me tira este error
Fatal error: Call to undefined function mssql_connect() in /www/sites/1/iespana.es/m/u/mu-imperio/site/config.php on line 141
por lo poco q entiendo me dice q el error se encuentra en el archivo config.php en la linea 141
la linea 141 es esta:
$msconnect=mssql_connect("$host","$alogin","$apass");
por si no entienden bien. es una web para muonline es por eso q trabaja con sql para el registro de cuentas la web no la cree yo la baje, ahy varias de estas pero todas me dan el mismo error.
el user y el pass estan bien pero no se si el host es correcto
este es el script completo
----------------------------------------------------------------------
<?php
// A small Config File for this site, only edit in areas that do not warn you you from editing
//=============IP AND LOGIN SETTINGS OF SQL SERVER==============
// Enter the IP or DSN of the database server to connect to
$dbhost = "127.0.0.1";
// Enter the username to connect to the db, default is sa
$dbuser = "sa";
// Enter the password for your SQL Server
$dbpasswd = "*********";
// Host. IP If working remotely, usually 127.0.0.1 works
$host = "l127.0.0.1"; (probe poner localhost y nada)
//============END OF IP AND LOGIN SETTINGS OF SQL SERVER ========
//===============Castle Siege Time====================
$castlesiege="16 AM";
//=============END Castle Siege Time===================
//===========SERVER INFO===============
//Server name
$servername= "MuOnline";
//Server version
$serverversion= "1.02D";
//Server experience
$serverexp= "90X";
//Server drop
$serverdrop= "80%";
//Server conect port
$serverport= "44405";
//=========END SERVER INFO=============
//================WEBSITE CONFIGURATION======================
// Gameserver port, used for the online/offline status check
$port = "55901";
//Website title (Do NOT edit Unless you want a different title, default is the server's name)
$title= "$servername";
//=============END OF WEBSITE CONFIGURATION==================
//===============LINKS=========================
//Downloads client link
$downloadclient= "
Para ver los enlaces debes ser usuario
Crear Usuario o
Hacer Sesion link";
//Downloads patch link
$downloadpatch= "
Para ver los enlaces debes ser usuario
Crear Usuario o
Hacer Sesion link";
//Forum link
$forumlink= "
Para ver los enlaces debes ser usuario
Crear Usuario o
Hacer Sesion";
//==============END LINKs======================
//==============Team===================
//You server's team, leave blank if something does not apply to anyone
//Leader
$Leader= "Leader Name";
//Admins
$web= "Website hoster";
$server= "Server1 host";
$server2= "Server2 host";
$server3= "Server3 host";
$server4= "Server4 host";
//Game Masters
$gm= '';
$gm2= '';
$gm3= '';
$gm4= '';
$gm5= '';
$gm6= '';
//=============END TEAM=================
//****************************************************DONT EDIT HERE*********************************************************
//=============== NOT EDITABLE AREA ====================
// DEFAULT SETTINGS DO NOT CHANGE
$alogin = $dbuser;
$apass = $dbpasswd;
$db = 'muonline';
$regsubmit = "regform.submit()";
$msconnect=mssql_connect("$host","$alogin","$apass"); (esta es 141)$msdb=mssql_select_db("$db",$msconnect);
$ip = $host;
//========================END===========================
?>
desde ya gracias niko