Results 1 to 6 of 6

Thread: please help me solve this problem php_value magic_quotes_gpc 0

  1. #1
    Senior Member andrew3008's Avatar
    Join Date
    Sep 2010
    Location
    mumbai
    Posts
    104
    Thanks
    119
    Thanked 20 Times in 8 Posts
    Blog Entries
    1
    Rep Power
    3

    Default 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. #2
    Senior Member s3nzo's Avatar
    Join Date
    Sep 2009
    Location
    Durban, KwaZulu-Natal, South Africa
    Posts
    158
    Thanks
    54
    Thanked 22 Times in 9 Posts
    Rep Power
    4

    Default

    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
    [Only registered and activated users can see links. Click Here To Register...]

  3. #3
    Senior Member andrew3008's Avatar
    Join Date
    Sep 2010
    Location
    mumbai
    Posts
    104
    Thanks
    119
    Thanked 20 Times in 8 Posts
    Blog Entries
    1
    Rep Power
    3

    Default

    tried internal server error 500 mate is thr any other solution

  4. #4
    Senior Member something else's Avatar
    Join Date
    Feb 2008
    Location
    if($something){echo 'Status code 404'; }else{ echo 'coding-talk.com';}
    Posts
    1,819
    Thanks
    209
    Thanked 447 Times in 202 Posts
    Rep Power
    0

    Default

    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 at 14:18.

    [Only registered and activated users can see links. Click Here To Register...]


  5. The Following User Says Thank You to something else For This Useful Post:

    andrew3008 (24-04-11)

  6. #5
    Senior Member andrew3008's Avatar
    Join Date
    Sep 2010
    Location
    mumbai
    Posts
    104
    Thanks
    119
    Thanked 20 Times in 8 Posts
    Blog Entries
    1
    Rep Power
    3

    Default

    Quote Originally Posted by something else [Only registered and activated users can see links. Click Here To Register...]
    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

  7. #6
    Senior Member khan's Avatar
    Join Date
    Dec 2009
    Location
    Bangladesh
    Posts
    700
    Thanks
    33
    Thanked 39 Times in 29 Posts
    Rep Power
    4

    Default

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

  8. The Following User Says Thank You to khan For This Useful Post:

    andrew3008 (25-04-11)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. i dnt have perm. To change magic_quotes_gpc
    By Nepsalone in forum Domains - Hosting - Servers
    Replies: 5
    Last Post: 30-03-11, 02:30
  2. (gd) (mbstring) error.. How to solve this?
    By Jervy in forum Coding Forum
    Replies: 5
    Last Post: 11-02-11, 16:03
  3. .htaccess php_value
    By PoV@rEsK in forum Coding Forum
    Replies: 19
    Last Post: 18-01-10, 02:18
  4. how to solve operamini errors
    By bijaybd in forum REQUEST FORUM
    Replies: 19
    Last Post: 09-11-09, 12:58
  5. .htaccess Disabled ( Php_value ) :(
    By SiLeNce in forum Coding Forum
    Replies: 11
    Last Post: 24-11-08, 18:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19