Page 1 of 1

Using odbc_connect with mapped drives? [SOLVED]

Posted: Wed Feb 06, 2008 9:26 am
by PhpDog
I can connect to a dsn datasource using odbc_connect with a local drive. But it won't connect to a mapped drive (XP Pro box). How can I correct this please?

Re: Using odbc_connect with mapped drives? [SOLVED]

Posted: Fri Feb 08, 2008 5:04 am
by PhpDog
I'm surprised that I received no replies on this.

Anyway, a solution was found by a friend of mine (can't take credit for another man's work).
If you run Apache as a console application, rather than a service, PHP will then play nicely with mapped drives.
Hope that helps someone else to avoid the pain we experienced to get to the solution.