May 29, 2010

Problem when connecting to MSSQL using PHP

admin

Ads



fatal error: call to undefined function mssql_connect()

This message appears when you try to connect to MS SQL Server from PHP, to fix this problem you have to check the following:

1- check if the file php_mssql.dll exists in “ext” folder.

2- Check the file ntwdblib.dll in apache/bin and mysql/bin.

3- Uncomment the extension php_mssql.dll from php.ini if it is commented.

4- Refresh the page.


Related Posts:
  1. PayPal ipn with php
    If you are searching about a paypal IPN (Instant Payment notification) , you are in the right place. Here I show a simple PayPal IPN (Instant Payment notification) to you. There are...
  2. get free file name function with php
    Some times in when make a code for uploading files, you want that the uploaded file not to be over written, to do that you have to use this function....
  3. New Folder.exe Virus Removal Tool antivirus
    New Folder.exe is a virus that infecte you computer and cause a harmful effect such using more than 50 % of your processor, It Disables Task Manager, Registry Editor, Folder...
  4. Task manager disabled virus removal antivirus
    Task manager is diables by the virus New Folder.exe. it you want to read more about this harmfull virus you can goto this page New Folder.exe Simply you can download...
  5. How to Crop a Group of Images or resize Group of Images using photoshop
    Sometimes when you want to upload photos to the Web, or to send them via email , it is better to scale them down to a smaller size, so your recipient...
  6. Encrypt/Decrypt php source files
    Hide it is an open source project found on sourceforge.net, it is for encrypt or decrypt php source files to hide this source code from being modified. it includes a...
  7. Combofix antivirus free download
    combofix a great freeware anti-spyware, anti-malware and antivirus from combofix.org. Combofix can  scan  and remove viruses, spywares and worms from your computer to provide to you a professional protection.. for...
  8. Create Secure Login using PHP and sessions
    To do a secure login using PHP suppose you have a page called login.php that has the login form and the page logincheck.php, you have to take in your account...
  9. Auto html form validator using javascript - html validation
    When you have a lot forms, you need a fast solution to make form validation, by this package I give you the fast and efficient way to do validation needs...
  10. Warning: Cannot modify header information - headers already sent by (output started .. fix
    some times in PHP pages the message "Warning: Cannot modify header information - headers already sent by (output started .. " appears. The cause: You may use the function header...
No responses to "Problem when connecting to MSSQL using PHP"

No comments yet.

Leave a comment
Name : 
Mail : 
Website : 
Message :