Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Thanked 0 Times in 0 Posts

    Help converting two script from mssql_connect to sqlsrv connection

    I have an issue with two files that connect with the very old mssql_connect but i need them to use sqlsrv drivers to handle that connection, the script connect to two databases, i need help converting those two block of code in a sqlsrv driver version, if someone's so kind to help me with this i would apreciate it very much.

    Here's the link to the files aforementioned:


  2. #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,668 Times in 2,637 Posts
    Just like mysql to mysqli conversions, mssql to sqlsrv conversions are a time consuming task. They are not simply copy and paste changes, they require you to rewrite most of the handling to do it right.
    Moving from PHP forum to unknown sized requests. Chances are you won't get someone to convert these for free.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts