please help me solve this problem php_value magic_quotes_gpc 0
Collapse
X
-
Originally posted by something else View PostYou can add:
in your scriptPHP Code:ini_set( 'magic_quotes_gpc', 0 );
if that doesnt work code round it eg:
PHP Code:if ( in_array( strtolower( ini_get( 'magic_quotes_gpc' ) ), array( '1', 'on' ) ) ) { $_POST = array_map( 'stripslashes', $_POST ); $_GET = array_map( 'stripslashes', $_GET ); $_COOKIE = array_map( 'stripslashes', $_COOKIE ); }
but in which php file i addd
Leave a comment:
-
You can add:
in your scriptPHP Code:ini_set( 'magic_quotes_gpc', 0 );
if that doesnt work code round it eg:
PHP Code:if ( in_array( strtolower( ini_get( 'magic_quotes_gpc' ) ), array( '1', 'on' ) ) ) { $_POST = array_map( 'stripslashes', $_POST ); $_GET = array_map( 'stripslashes', $_GET ); $_COOKIE = array_map( 'stripslashes', $_COOKIE ); }Last edited by something else; 24.04.11, 14:18.
Leave a comment:
-
If you have access to your .htaccess you can just open it and add what you want to add, if you are on paid hosting but you can't see .htaccess on the main page on cpanel click on "reset all interfaces" then maybe you will see .htaccess on file manager
Leave a comment:
-
please help me solve this problem php_value magic_quotes_gpc 0
please any one help me how to solve this problem
php_value magic_quotes_gpc 0
how toadd in .htaccess rootTags: None
Leave a comment: