godaddy economy windows - pdo and sql server?
Posted: Thu Mar 15, 2012 4:43 pm
First off, I'm new to PHP, so bear with me. I want to know if I can use PDO to MSSQL on
the GoDaddy economy windows accout and to write or find a simple example of accessing
the Sql Server.
I have been assigned to build a site on a GoDaddy economy windows account. I would prefer
to use php (and YII framework) to classic asp or asp.net. First up I want to demonstrate that
I can talk to the account's Sql Server.
I see that the mssql library is available, but I would prefer to use PDO, because I think PDO
is supported in the YII ORM.
I see these DLLs at C:\\php5\\ext which gives me some hope.
php_pdo.dll
php_pdo_mssql.dll
php_pdo_odbc.dll
php_mssql.dll
php_sqlsrv.dll
Any advice or pointers?
I will gladly post my attempted code if anyone is interested.
the GoDaddy economy windows accout and to write or find a simple example of accessing
the Sql Server.
I have been assigned to build a site on a GoDaddy economy windows account. I would prefer
to use php (and YII framework) to classic asp or asp.net. First up I want to demonstrate that
I can talk to the account's Sql Server.
I see that the mssql library is available, but I would prefer to use PDO, because I think PDO
is supported in the YII ORM.
I see these DLLs at C:\\php5\\ext which gives me some hope.
php_pdo.dll
php_pdo_mssql.dll
php_pdo_odbc.dll
php_mssql.dll
php_sqlsrv.dll
Any advice or pointers?
I will gladly post my attempted code if anyone is interested.