title: PHP PDO Connection to SQL Server with integrated security?
body: <p>Can I connect to SQL Server 2008 using PDO and integrated security using the mssql driver? Currently doing something like this to connect normally:</p>
  
  <pre><code>$db = new PDO("mssql:host=host;dbname=db", "user", "pass"); 
  </code></pre>
  
  <p>This works fine using SQL Server authentication, but it is a pain having to create SQL server logins for loads of databases, so it would be nice to use integrated security if possible. I am running PHP as CLI on Windows.</p>