|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-24 19:14 UTC] msaraujo@php.net
[2011-12-07 06:44 UTC] rubia_mit09 at yahoo dot com
[2011-12-07 08:23 UTC] rubia_mit09 at yahoo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 16:00:01 2025 UTC |
Description: ------------ im using iis,sql server 2005 and php 5.2.5 the php_mssql.dll extension is already uncommented in php.ini of php 5.2.5 win 32 installer, i have put the php_mssql.dll and ntwdblib.dll in system 32 and php\:extension folders the fatal error call to undefined function mssql_connect() still comes. testing for availability of php functions using;- <?php if (function_exists('mssql_connect')) { echo "Okay, fn is there"; } else { echo "Hmmm .. fn is not even there"; } ?> it returns the else part, where the problem will be??plz help me i have suffered this problem for months. Reproduce code: --------------- the code i used to connect to the database is as follows;- <?php $dbserver="localhost, 1433"; $dbuser="sa"; $dbpass="adam"; $dbname="Student"; ?> then <?php $dbconn=mssql_connect($dbserver,$dbuser,$dbpass); mssql_select_db($dbname, $dbconn) or die("Unable to Open The Database"); ?> Expected result: ---------------- to connect to sql server, unfortunately i couldnt, plz plz help me out of this big problem.