PHPIDS, CakePHP And Prepared Statements

2011-04-16 Thread goluhaque
Is CakePHP compatible with PHPIDS? If yes, where should I put the  *
phpids-0.x/lib* folder?

Also, are SQL functions of CakePHP prepared statements? 

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: PHPIDS, CakePHP And Prepared Statements

2011-04-16 Thread cricket
On Sat, Apr 16, 2011 at 11:01 AM, goluhaque afzal...@gmail.com 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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


CakePHP and prepared statements

2010-06-14 Thread Ma'moon
Dear Bakers,
I am in a setuation where i was asked to use prepared statement in the SQL
queries that my Cake based application is performing, is there any way that
i can use prepared statement in CakePHP? if there are any links or
references regarding this subject then i will be very thankful if some can
point them out.

Thanks,
Ma'moon

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en