Skip to content

Gamerz-bg Dev Blog

Dev Blog

Category: Uncategorized

Escape $_POST with mysqli_real_escape_string

If you want to apply mysqli_real_escape_string() to an entire $_POST array here is how you can do it assuming $conn is your mysqli connection Also good to note that you should always use prepared statements and do not rely on this function alone for security. I personally use this function not as a security measure… Continue reading Escape $_POST with mysqli_real_escape_string

Published May 13, 2022
Categorized as Uncategorized

Recent Posts

  • Escape $_POST with mysqli_real_escape_string
  • How to Check If a String Contains a Specific Word in PHP
  • Sanitize GET request in PHP

Recent Comments

No comments to show.
Gamerz-bg Dev Blog
Proudly powered by WordPress.