Jump to content

PHP SQL Injection Question


ds111

Recommended Posts

Hello,

 

    I am interested in learning more about preventing PHP SQL Injection. What is the safest procedure to read submitted form data via POST and insert it into MySQL? What is the safest way to process the data before displaying on the page? (to prevent XSS?)

 

Do those procedures change if I have magic_quotes on or off?

 

Thank you!

Link to comment
https://forums.phpfreaks.com/topic/167044-php-sql-injection-question/
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.