Jump to content

protecting mysql db from form inputs


giraffemedia

Recommended Posts

Hi, I'm putting together a database that once logged in, a user is able to insert, update and delete records via html forms.

 

The login is secured using mysql_real_escape_string, but I'm wondering should I do the same for all form elements that pass data to the db? There are a wide range of inputs, from numeric, alphanumeric, dates and more.

 

I'd appreciate your feedback.

 

Regards,

 

James

Link to comment
https://forums.phpfreaks.com/topic/225634-protecting-mysql-db-from-form-inputs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.