Nuevas NORMAS para el foro

Curso Hacker
Bienvenido(a), Visitante. Favor de ingresar o registrarse. - Mayo 17, 2008, 01:29:02
Boton Buscar
Inicio Ayuda Calendario Ingresar Registrarse
Visita: Articulos - Juegos Gratis - Da Foros

Comunidad Underground Hispana  |  Programacion  |  Programacion para webmasters  |  Mysql (Moderador: RuB)  |  Tema: error ("$host","$alogin","$apass"); 0 Usuarios y 1 Visitante están viendo este tema. « anterior próximo »
Páginas: [1] Ir Abajo Imprimir
Autor Tema: error ("$host","$alogin","$apass");  (Leído 270 veces)
cokets
Recien Llegado
*
Desconectado Desconectado

Mensajes: 7


Ver Perfil Email
« en: Diciembre 04, 2006, 11:51:40 »

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
En línea
hackmexsatelite
Visitante
« Respuesta #1 en: Enero 31, 2007, 09:39:23 »

$msconnect=mssql_connect("$host","$alogin","$apass");

Seria asi:

$msconnect=mysql_connect("$host","$alogin","$apass");

Saludos
En línea
Páginas: [1] Ir Arriba Imprimir 
Comunidad Underground Hispana  |  Programacion  |  Programacion para webmasters  |  Mysql (Moderador: RuB)  |  Tema: error ("$host","$alogin","$apass"); « anterior próximo »
Ir a:  
Novedades, Dudas, Comentarios Y Sugerencias, Top 100, Off-Topic, Revista E-Zine, Revista E-Zine, Sistemas operativos libres. , HacK GeneraL, Phreaking, Bug y Exploits, Networking & Wireless, Overclocking, Refrigeracion y demas, Hardware, Electronica Y Robotica, Hack para newbies, Todo Messenger, Troyanos y virus, Programacion, Programacion para webmasters, Software, Cracks & Serialz, P2p, Bittorrent, Elinks, Diseño Grafico, Juegos PC, Mp3, Multimedia, Peliculas Divx, Juegos, Humor y Adultos. (Diversion), Paginas Webs Recomendadas, Videos,


Zona-Musical Juegos online Juego Gratis10 Solucion Hosting Videos De Musica 1juegogratis Dragonjar
Noticias
 Juegos De Coche juegos gratis online juegos Los Foros De Sexe Gratuit Sexo Duro Tierra Messenger Trucos
Ranking-Hits
Powered by SMF 1.1.5 | SMF © 2006-2007, Simple Machines LLC