please help me solve this problem php_value magic_quotes_gpc 0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 root

    #2
    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
    libra.wen.ru

    Comment


      #3
      tried internal server error 500 mate is thr any other solution

      Comment


        #4
        You can add:
        PHP Code:
        ini_set'magic_quotes_gpc'); 
        in your script

        if that doesnt work code round it eg:
        PHP Code:
        if ( in_arraystrtolowerini_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.

        Comment


          #5
          Originally posted by something else View Post
          You can add:
          PHP Code:
          ini_set'magic_quotes_gpc'); 
          in your script

          if that doesnt work code round it eg:
          PHP Code:
          if ( in_arraystrtolowerini_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

          Comment


            #6
            In ur core or that page which is connected in every page.

            Comment

            Working...
            X