On Sat, Apr 16, 2011 at 11:01 AM, goluhaque <[email protected]> wrote:
> Is CakePHP compatible with PHPIDS? If yes, where should I put
> the  phpids-0.x/lib folder?

Probably. Use App::import('vendor', '...'); Not sure what to put for
the 2nd param as I'm unfamiliar with PHPIDS. Should be the class name.
You can also include the path to the file in the 3rd param.
http://book.cakephp.org/view/934/Using-App-import#!/view/943/Loading-Vendor-Files

Then instantiate it in AppController::beforeFilter() I guess.

> Also, are SQL functions of CakePHP prepared statements?

No. But I believe it's possible to implement that yourself. I think I
saw an article at the Bakery about that once.

-- 
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