RE: Avoiding SQL Injection With .htaccess 12-28-2015, 05:02 PM
#11
(12-28-2015, 04:59 PM)Paradigm Wrote:(12-28-2015, 04:45 PM)Sky Wrote:I've gotta be honest I haven't checked PHP7 much yet but the benchmark differences look insane. The only issue for me is they are moving more towards OOP.(12-28-2015, 04:24 PM)Paradigm Wrote:(12-28-2015, 03:14 AM)Sky Wrote:(12-28-2015, 02:53 AM)Tempe Wrote: how to the best to handle sir?
How about using some basic functions for input sanitization?
htmlentities()
htmlspecialchars()
mysql_real_escape_string()
Mysql_real_escape_string() shouldn't really be used anymore it got deprecated somewhere in PHP5 and removed in PHP7.
But PHP 7 is for gays, I'm sticking with 5.X for now.
This is exactly why I have little reason to upgrade, they focussed more on the performance than actual functionality.

![[Image: lQ3OC71.gif]](http://i.imgur.com/lQ3OC71.gif)
![[+]](https://sinister.li/images/modern/collapse_collapsed.png)






![[Image: opligitorygmailcom.gif]](http://sig.grumpybumpers.com/host/opligitorygmailcom.gif)


![[Image: roronoa-zoro-eye-hd.jpg?w=620]](https://greekorio.files.wordpress.com/2014/04/roronoa-zoro-eye-hd.jpg?w=620)