0

I got a quick question: Is it possible to get SQL-Injected by storing users email-addresses in a MySQL database? I am familiar with the filter_var($email, FILTER_VALIDATE_EMAIL) PHP function to check valid email addresses, however, even though I apply this function in my registration-page, I can still enter symbols like ` or ' in the email input, which are, as far as I know, typical to cause problems in databases. To not beat around the bush for any longer: Do I need another function to check those kind of characters, and if yes, can you give me some ideas and examples? Thank you

elu
  • 7
  • 4

0 Answers0