You are here: Example of mssql_connect that works with SQL Server 2005? « PHP Programming Language « IT news, forums, messages
Example of mssql_connect that works with SQL Server 2005?

Posted by David Haynes on 11/13/05 17:03

I can't seem to get the magic to work to connect to SQL Server via
mssql_connect(). I can get odbc_connect to work just fine, but not
mssql_connect. Could someone please post an example of how the hostname
field should be set up?

The SQL Server is on the same system as my php session.

Obviously, I am missing something because mssql_connect('localhost', '',
'') comes back with 'connection refused'.

-david-

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация