Magic Quotes GPC

zardiw

Perch
This is being deprecated in latest versions of PHP.

However, I noticed the magic_quotes_gpc flag is set on by default.

I've added php_flag magic_quotes_gpc Off to my .htaccess file.

Having this feature will help stop SQL injection attacks, so I think that's why JodoHost has it set to on.....

What is JodoHost's position on this? ....I think we should have some discussion on the use of this, and whether or not setting it off in the .htaccess file is OK...........

And what can we do in PHP to prevent injection attacks when we set this flag to off...........z
 
Back
Top