I have old projects containing many queries that do not use cfqueryparam to prevent SQL injection. Is there a way to use some function to perform similar actions at the application level in each form field?
As a newbie with a PHP background, I thought I could write data in a loop and do escape_string() or the like. but I donβt want the data stored in a hidden form. I think cfqueryparam does not store data in a hidden form. (I have not tried it yet. I am new to CF.) Otherwise, I have to cancel the data on each retrieval, which I do not want to do. I want the input to be inserted and retrieved as is.
Basically, I just want this to be done at the application level, so I donβt need to change thousands of requests each time for each project.
Input example
it my book user@gmail.com '; delete database
source share