Internal Server 500 Error - magic quotes
Hi all, i'm getting an internal server error 500 due to my .htaccess containing deprecated code which is magic quotes.
How can I fix this problem? is there an alternative code for magic quotes?
Error: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included
My code: php_flag magic_quotes_gpc On
Thanks in advance.
-
Change it to # php_flag magic_quotes_gpc On Let me know if that fixed... if there is any other php_flag set a # infront. 0 -
Hi cmanns, Thanks for the reply - I've already done that to hide the error but I would still like the function to work. Do you know of any alternative ways of getting this to work? I.E. updated code or addslash functions? Thanks 0 -
Hello :) Please see: [url=http://php.net/manual/en/security.magicquotes.php]PHP: Magic Quotes - Manual This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments