CodeIgniter Forums
MsSQL driver in PDO style - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: MsSQL driver in PDO style (/showthread.php?tid=31432)



MsSQL driver in PDO style - El Forum - 06-18-2010

[eluser]Yours3lf[/eluser]
Hello all,

here is my PDO driver which hopefully works with mssql databases. I wrote hopefully because I did not have the opportunity to try it out. Despite, I have written it, it is "almost done", I did not complete those parts which would strongly require a working MsSQL sever.

You can download the driver for PHP here: PHP driver

You have to copy the php_pdo_sqlsrv_52_nts.dll to the C:\{Program Files directory}\{PHP directory}\ext\ directory, and enable it in the php.ini:
extension_dir="C:\{Program Files directory}\{PHP directory}\ext"
extension=php_pdo_sqlsrv_52_nts.dll

If you succeeded it should appear in phpinfo().

I have uploaded here:
pdo driver the whole codeigniter framework including the driver, which can be found in the directory:
\system\database\drivers\pdo

I would really appreciate if someone could try it out if it connects to the database.

please if you have any improvements post it here.

Best regards,
Yours3lf


MsSQL driver in PDO style - El Forum - 09-07-2010

[eluser]graf[/eluser]
I would like to try this out and help perfect it... The links however are broken. Can you direct me with the working files?

Thanks!


MsSQL driver in PDO style - El Forum - 09-07-2010

[eluser]Yours3lf[/eluser]
ur lucky that i recieve emails about replies Smile other way i wouldnt even know about it Smile

ok,

here's the link to the file:
http://www.2shared.com/file/MhUul01c/web_page.html

to download it u have to click on the little text at the bottom: "save this file to my pc"

glad ur intrested,
Yours3lf


MsSQL driver in PDO style - El Forum - 09-07-2010

[eluser]Yours3lf[/eluser]
and here's the link to the driver

http://www.2shared.com/file/DUo4vSEf/pdo_driver.html


MsSQL driver in PDO style - El Forum - 04-21-2011

[eluser]EugeneS[/eluser]
hi, links are broken from where it could be downloaded ?

thanks.