How Can I Turn On Php Magic_quotes_gpc Setting During Joomla 1.0 Installation.? Free RapidShare Download

How Can I Turn On Php Magic_quotes_gpc Setting During Joomla 1.0 Installation.?

January 26, 2010 under FAQ

how can i turn on PHP magic_quotes_gpc setting, during joomla 1.0 installation. whereas XAMPP is already installed on my machine. if u can help me so please send me complete path/command.

Search more about How Can I Turn On Php Magic_quotes_gpc Setting During Joomla 1.0 Installation.?:

  • flashbird

Comments

3 Responses to “How Can I Turn On Php Magic_quotes_gpc Setting During Joomla 1.0 Installation.?”
  1. Colanth says:

    You go into the php.ini file and turn it on.

  2. jtaber79 says:

    Have you got access to php.ini? If so then change these in the file to:
    magic_quotes_gpc = On
    magic_quotes_runtime = On
    If you are in a shared environment, you may need to contact your hosting provider.
    You may be able to change it via an .htaccess in the same directory as your php script files:
    Content of .htaccess:

    php_value magic_quotes_gpc 1

    Another option might be to use the iniset() function in the php script file itself (this may or may not work depending on your hosting environment)
    PHP Syntax:
    < ?php
    ini_set ('magic_quotes_gpc', 1);
    ?>

  3. Rangacharyulu G says:

    If you have access to php.ini
    set the
    magic_quotes_gpc directive to On
    magic_quotes_runtime=on
    If you don’t have access to php.ini
    ini_set(’magic_quotes_gpc’, 1); in your code

Leave a Comment

If you want a pic to show with your comment, go get a gravatar!