Here's how the connection is made manually:
function.mssql-connect
But it should be known that experts strongly recommend NOT using MS SQL with PHP.
Is there no way to export the data and start using MySQL - which is recommended and works flawlessly with PHP?
Cheers,
Brian