Pages

Monday, 15 April 2013

how off magic_quotes in php server

In php server you may need to On or Off different functions. Here has discussed how you can off

magic_quotes_gpc
magic_quotes_runtime
and magic_quotes_sybase

 you can off this functions by different ways. At first you can ask server authority to off it by changing this function On or Off.

or

you can write on .htaccess file

or

you can create a php.ini file and upload it to in your server root.

i have tried all of the above ways to Off magic_quotes_gpc , but could not.
Then i got a solution which is to create a php5.ini ( not php.ini ) and write the following codes to the file.

magic_quotes_gpc = Off;
magic_quotes_runtime = Off;
magic_quotes_sybase = Off;

Then i see it is Off now.

It is used for joomla 3 version articles edit for some servers.
 


No comments:

Post a Comment