zen of coding

CakePHP and save() security

An interesting point came up on IRC… What happens if someone submits data to your application via a fake form? How can you ensure that a malicious user will not simply save some unwanted data by filling your $this->data array with things you don’t want there? For example, by sending[…]

Read More »

Retaining a search string in the URL

As you know, for a good reason, CakePHP will use the POST method by default to submit form data. However, there is a case where this could present a problem… Let’s say you are building a little search tool for all of your articles. It would be nice to allow[…]

Read More »
%d bloggers like this: