A: 

You are looking to implement NTLM Authentication in the PHP application, see my prior answer on this:

http://stackoverflow.com/questions/635171/can-a-php-intranet-share-windows-logins/635230#635230

Moo
So, I read over the article. Seems to make sense...What if the servers are 2 separate domains? One is http://a.com and the other is http://b.com (or even https://b.com) does it still work then?
Jason
as long as the user opening the page is known in both domains, yes. are they truly separate domains or is one a subdomain?
Colin
One is a windows domain (from AD) the other is not part of an AD domain, it is just a standard URL. a.com is an AD domain, b.com is nothing more than a domain on the internet. I've edited my questions to help describe more details.
Jason
A: 

If your other web application uses Windows Integrated Authentication (NTLM or Kerberos authentication or even basic authentication) then it can act the same way. Depending on the browser, it can automatically remember and log into sites using one of these methods. Each browser may do it differently, though. IE has settings for automatically logging in based on the zone (Internet, Local intranet, trusted sites).

You would not necessarily need to have the have your other application use the same user store (AD/LDAP), but it would likely make sense.

Kirk Liemohn