shyne
08-09-2007, 03:52 AM
Hi
I want to know if storing php code in mysql database is a good idea or bad idea? From the form where the code is actually saved is the admin area where no normal user can access and also it gets inserted using the POST method, so I am guessing an attack is likely to be easy. I just wanted to know as far as the security goes how much risk is involved? What is a good way to storing PHP code in the database?
Thanks
I want to know if storing php code in mysql database is a good idea or bad idea? From the form where the code is actually saved is the admin area where no normal user can access and also it gets inserted using the POST method, so I am guessing an attack is likely to be easy. I just wanted to know as far as the security goes how much risk is involved? What is a good way to storing PHP code in the database?
Thanks