What is the file? I have php.ini and php.ini-dist on my computer.
                
                A: 
                
                
              php.ini-dist is the sample config file that comes with PHP, php.ini is the live config so you will need to set in this file
magic_quotes_gpc = off
magic_quotes_runtime = off
magic_quotes_sybase = off
                  Tim
                   2009-11-17 10:53:19
                
              Depending our your configuration, you'll also most likely need to restart your webserver for these changes to take effect. :-)
                  middaparka
                   2009-11-17 12:04:11
                I changed the three equations to "off" and I restarted my web server, but the change doesn't take effect.
                  Steven
                   2009-11-17 12:19:56
                OK, it sounds like you'll need to check that PHP is reading the ini file you've updated. Simply output a page with <?php phpinfo(); ?> on it and this will list both the ini file in use and the magic quotes related settings.
                  middaparka
                   2009-11-17 12:54:15
                Good suggestion. Thank Middaparka and Tim.
                  Steven
                   2009-11-18 04:25:54
                I have resolved the problem with the help of you both.
                  Steven
                   2009-11-18 04:26:25