Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 10-11-2010, 05:41 AM mssql not loaded
Skilled Talker

Posts: 97
Name: rhoda
Trades: 0
Good day!

I try a lot of configuration to work my connection from php to mssql but still I cannot connect. And I got a code to check if the mssql was loaded.

Here is the code:
PHP Code:
<?php
if (function_exists('mssql_connect')){
echo 
"Okay, fn is there<br>------------------<br>";
} else {
echo 
"Hmmm .. fn is not even there<br>------------------<br>";
}
 
if(
extension_loaded("mssql")) {
echo 
"MSSQL is Loaded<br>";
}
else {
echo 
"MSSQL not loaded<br>";

 
if(
extension_loaded("msql")) {
echo 
"MSQL is Loaded<br>";
}
else {
echo 
"MSQL not loaded<br>";

echo 
'<br><br>';
 
$ext get_loaded_extensions();
if(
in_array('mssql'$ext))
echo 
'u have mssql installed<br><br>';
else
echo 
'u do NOT have mssql installed<br><br>';
 
phpinfo();
?>


And when I run this code the result is:

Hmmm….fn is not even there
----------------------
MSSQL not loaded
MSQL not loaded
You do NOT have mssql installed
And the list of phpinfo() appear.

Actually I run this code when my php version is php 5.2.4 and now I try it to php 5.1.4 and the result is still the same.

Web server is IIS 6.0
OS is Windows Server 2003 R2 Standard Edition
PHP version is php 5.1.4
MS SQL Server 2005 Express Edition –Windows Authentication.

I need to solved this problem because my connection in mssql is not working because call to undefined the function mssql_connect().

I hope somebody can help me. Almost three weeks I configure this connection and still I cannot connect.

Any help is highly appreciated.
Thank you.


newphpcoder is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to mssql not loaded
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15684 seconds with 12 queries