Category: Validation

Cakephp 2 how to escape special characters to prevent SQL injection?

Hi, I'd like to know in Cakephp 2 how to escape special characters to prevent SQL injection?For example://input $this->request->data['Model']['name']; // name = 'John "Doe"'I want name fi

SOLVED #sql #injection
3 Answers
Harper
Harper

5