Hi thanks am using windows xp for the application and windows server 2003 for the database but I can still use the database in my locval xp machine
this is the code am using and I am getting the following error
<?php
///////////////////////////////////////////////////
//
// Connection test to external MSSQL Database
//
///////////// Configure this /////////////////////
// Host\Instance Name
$host_inst = 'ICT-COMARI\SQLEXPRESS';
$username = 'sa';
$password = 'kemmie1*';
///////////// End Configure /////////////////////
// Try connecting to the database
$dbconnect = mssql_connect($host_inst, $username, $password);
if ( $dbconnect ) {
echo '<b><font color="green">OK!</font></b>';
} else {
echo '<b><font color="red">FAILED</font></b>';
}
?>
Error that I am getting is as follows
Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\iBusiness\dbcon.php
on line 19
I am using wamp server
Regards
Calvine,
Which webserver platform are you workin on? IIS, Xampp, Wampp…….? Also the operating system of where PHP is?
Dan
From: skunkworks-bounces@lists.my.co.ke [mailto:skunkworks-bounces@lists.my.co.ke] On Behalf Of Calvin Omari
Sent: Tuesday, June 08, 2010 12:18 PM
To: Skunkworks Forum
Subject: [Skunkworks] Php mssql2005 remote sever connection
Hi,
I am building an application from my machine machine name (ICT-COMARI) and I want to connect to a database in another network computer called APPSERVER01, any idea how I can do that
Regards
--
Our greatest fear is not that we are inadequate,
but that we are powerful beyond measure.
It is our light, not our darkness, that frightens us.
Calvin Omari Systems Developer/Designer
http://www.facebook.com/barongo
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke