Connect to a MS SQL Server from Linux Server with PHP in a local network

Discussion in 'PHP' started by Kyriakos, Apr 18, 2013.

  1. #1
    hi,
    I have a website in a LINUX Server and i want to connect to MS SQL Server (Windows Server 2003) with PHP.
    How i can do this with ODBC? The server IP address is "192.168.1.33". Both servers are in the same local network. i want the PHP code for connection, sql query and the results (While and $rows).

    can anybody give a little help?
    thanks in advance.
     
    Kyriakos, Apr 18, 2013 IP
  2. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #2
    Alex Roxon, Apr 18, 2013 IP