I am using PHP 5.2 + Mssql 2008 + Linux Server and Cake 2.1.2, latest
version of cake only Sqlsrv drivers that does not work on Linux box.
Because  lack of php_mssql drivers in cake i have to use PEAR:DB
drivers with cakephp, also i want strong support for store procedure
calls
that cake in built drivers dosent support.

Pear drivers has good function to call Store procedures like below

$res = $db->getAll("mystoreprocedure", array($param1, $param2,
$param3));

Although i can call SP from cake using $this->query() method but in
this function i have to take care of SQL injection, SP out parameters
etc..

hope you understand the problem.

Thanks,
Abhijit

On May 16, 3:39 pm, AD7six <[email protected]> wrote:
> On Wednesday, 16 May 2012 06:37:53 UTC+2, abhikakade wrote:
>
> > Hi All
>
> > I there any way to use cakephp 2.X with PEAR:DB drivers ? i have
> > checked old cake version supports pear connection but not the latest
> > one.. is there any native drivers available to connect with PEAR:DB
> > class ?
>
> Why would you want to do that?
>
> AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to