Help - Search - Members - Calendar
Full Version: Database Connection
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
Ayurne
hi

i use zymic for a while and if some one knows i have a GunzWeb and there is registerpage and ranking but after i put my files in my web i get this error

Fatal error: Call to undefined function mssql_connect() in /www/vndv.com/c/r/u/cruel-gunz/htdocs/config.php on line 32

if there is a way to use my own GunzDB (Database) please tell me someone do i have to upload my database in my web or what i saw many webs they can use

please help me someone idk what to do this is my web cruel-gunz.vndv.com

hope someone knows something.

Thanks anyway
Ayurne
oh and this is my config

<?

@session_start();

//MSSQL Server configuration

$_MSSQL[Host] = "localhost";
$_MSSQL[User] = "username";
$_MSSQL[Pass] = "zymic databse password";
$_MSSQL[DBNa] = "zymic database name";

//MySQL Server configuration

$_MYSQL[Host] = "localhost";
$_MYSQL[User] = "username";
$_MYSQL[Pass] = "zymic DB password";
$_MYSQL[DBNa] = "zymic DB name";

//Configuration

$_CONFIG[NewsFID] = 2;
$_CONFIG[EventsFID] = 0;
$_CONFIG[vBulletinPrefix] = "xxxxx";
$_CONFIG[ForumURL] = "http://www.forum-cg.vndv.com/";

//Offline page
$_CONFIG[OfflinePage] = "";




$r = mssql_connect($_MSSQL[Host], $_MSSQL[User], $_MSSQL[Pass]) or die("Cant connect to database");
mssql_select_db($_MSSQL[DBNa], $r);

?>
swordz
We only provide mysql, not mssql, and you will be unable to connect to an external db from here.

Upload your mssql db to our mysql db (You may need to change things slightly) then use mysql_connect etc.

swordz
Ayurne
swordz i dun know how to do that can u teach me please i'ma nub:P
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.