ds111 Posted July 22, 2009 Share Posted July 22, 2009 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 More sharing options...
Adam Posted July 22, 2009 Share Posted July 22, 2009 I'd recommend reading this: http://www.phpfreaks.com/tutorial/php-security (speifically section 4) Link to comment https://forums.phpfreaks.com/topic/167044-php-sql-injection-question/#findComment-880768 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.