C
|
cgphp 6/22/2012 |
Post your code. |
W
|
wildwally author 6/22/2012 |
|
W
|
wildwally author 6/22/2012 |
Can this be converted to work in PHP Runner? |
![]() |
Sergey Kornilov admin 6/22/2012 |
Can this be converted to work in PHP Runner? http://www.asprunner.com/forums/topic/17429-multiple-database-connections/
global $host,$user,$pwd,$dbname;
|
W
|
wildwally author 6/23/2012 |
Why would I see this error? The SQL server Dll drivers should already be in operation since PHPRunner is already using them, correct? |
J
|
Jane 6/25/2012 |
Hi, |
W
|
wildwally author 6/25/2012 |
I don't understand why this is required if PHPRunner is using the same connection code within it's functions in the database connection files. One would think this would already be setup and working?? |
![]() |
Sergey Kornilov admin 6/25/2012 |
Most likely PHPRunner is not using sqlsrv functions. PHPRunner comes with three SQL Server connection interfaces and uses the one that is available on your server: mssql functions, sqlsrv_ functions or COM-based ADODB.Connection method. You need to find what PHP SQL Server functions are available on your web server and use them. |
W
|
wildwally author 6/25/2012 |
there is no host. I'm just trying to run this from my computer and connect to another instance of SQL on another server. I know the connection works from PHPRunner if I change the database source - therefore ruling out any issues outside of the SQLSRV dll's. |