Re: Model Validation help

2008-06-06 Thread Turnquist, Jonah
Looking back over my last reply I think I might have sounded a bit rude, sorry about that I did the search as you said and found one instance of the function, but was not able to make sense of it. I did do some googling and found this page though: http://grahambird.co.uk/cake/ quote from page:

Re: Model Validation help

2008-06-06 Thread b logica
Huh? Is it too difficult to open the file and search for the word 'escape'? I agree that Cake's inner workings are bloody mysterious, but if you're using PHP--period--"you should very well know" how to search a file for a method. On Fri, Jun 6, 2008 at 10:31 PM, Turnquist, Jonah <[EMAIL PROTECTE

Re: Model Validation help

2008-06-06 Thread Turnquist, Jonah
If you are using cakephp and publish websites to the internet, you should very well know if it is secure. My question is do I have to do something to the data before saving it to the database manually to keep it mysql injection safe or does cake take care of that? For instance do I need to use m

Re: Model Validation help

2008-06-06 Thread b logica
All of the various database frontends are in cake/libs/model/datasources/dbo/ On Fri, Jun 6, 2008 at 4:18 PM, Turnquist, Jonah <[EMAIL PROTECTED]> wrote: > > Thank you! That was exactally what I was looking for. That should > work nicely. > > Still looking for the answer to this question though:

Re: Model Validation help

2008-06-06 Thread Turnquist, Jonah
Thank you! That was exactally what I was looking for. That should work nicely. Still looking for the answer to this question though: Also, does cakephp take care of mysql injection checking automagically or do I have to call mysql_real_escape_string for everything manually? Or is there someth

Re: Model Validation help

2008-06-06 Thread Daniel Hofstetter
Hi Jonah, > Problem: > What if data is sent through that should NOT be stored in table? How > do I stop that? For example, say I had a column named > "do_not_store_data_here" in the table. For some reason I do not want > any data stored there. I can't think of any particular cases where I > w

Model Validation help

2008-06-06 Thread Turnquist, Jonah
Ok, so i've been experimenting with model validation. It all seems very cool, except I am seeing some holes. >From the tutorial this is what I have in the controller: http://bin.cakephp.org/view/2080892837 Problem: What if data is sent through that should NOT be stored in table? How do I stop