Connect to SQL db from PHP suggestions...?

Started by cliff606, Apr 27, 2010, 08:41 AM

previous topic - next topic
Go Down

cliff606

I'm working on a project where I have to query an SQL database (Microsoft SQL 2000) with PHP. The SQL database is on an external server.

I have all the connect info and am told the server's enabled in the firewall.

I've googled this several times and am quite confused with the response. Was wondering if anyone could point me to a reliable ODBC driver that's preferably free or open source.

-or-

If there's a better way for PHP to link up to the SQL database I'm open to suggestions.

My server is a Linux box with Apache2 running php 5.

Thanks in advance for any assistance/guidance you can provide.

VelMurugan

Even i had tried for several times to get it connected on linux server. But so far i have not done it.

But same works perfectly on windows server and localhost.




I'm working on a project where I have to query an SQL database (Microsoft SQL 2000) with PHP. The SQL database is on an external server.

I have all the connect info and am told the server's enabled in the firewall.

I've googled this several times and am quite confused with the response. Was wondering if anyone could point me to a reliable ODBC driver that's preferably free or open source.

-or-

If there's a better way for PHP to link up to the SQL database I'm open to suggestions.

My server is a Linux box with Apache2 running php 5.

Thanks in advance for any assistance/guidance you can provide.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:
Verification:
Please leave this box empty:

Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: alt+s submit/post or alt+p preview
IT Acumens Web Designing Chennai | GinGly :: Build your Personal Website | CineBuzz :: Cinema News | My Kids Diary :: Gift your Kids Memories :: Book Website @ 349 Rs monthly
Copyright 2005 - 2021 :: IT Acumens :: All Rights Reserved. :: XML Sitemap
ITAcumens Discussion Forum with 2 lakhs post running for 15 years - Powered by IT Acumens Pro Dedicated Server

My Kids Diary