首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > phpdb使用PDO和不使用它!

phpdb使用PDO和不使用它!

  • 资源大小:9.17 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: PDO phpdb 使用

资 源 简 介

Go there : http://fr2.php.net/manual/fr/ref.pdo-oci.php Notice the red block at the beginning of this page... pdo_oci is HIGHLY experimental. Even though it is under dev since 2004, it lakes today support for things that do matters : * bind a varchar2 of 3500 chars * get selected metas * left join with blobs/clobs * etc. For the little story, since we use pdo_pgsql in our software, I thought it would be viable to use pdo_oci for running under Oracle. After a long battle, I finally won : If requested driver has a non-experimental pdo version available, use it. else (well, for pdo_oci at least), use an abstraction layer of your own. you"re done. The point is, that instead of using php_pdo_oci you"re using php_oci8, but keeping the clean framework and syntax of PDO. Easy. Fast. Working. What is done in more details... 2 "main" classes for being compliant with "$o

文 件 列 表

phpdbabstract.php
phpdbabstractstatement.php
phpdbdriveroci.php
phpdbdriverocistatement.php
phpdb.php
phpdbqueryexception.php
phpdbstatement.php
sfPhpDb.php
VIP VIP
0.184172s