Using odbc_connect with mapped drives? [SOLVED]
Moderator: General Moderators
Using odbc_connect with mapped drives? [SOLVED]
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?
Last edited by PhpDog on Fri Feb 08, 2008 5:05 am, edited 1 time in total.
Re: Using odbc_connect with mapped drives? [SOLVED]
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.
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.