Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    1
    Thanks
    0
    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:

    scripts

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 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'); 


  •  

    Posting Permissions

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