kawiki Posted May 24, 2006 Share Posted May 24, 2006 Hi all,Not a programmer and I guess if I was, I wouldn't have to ask this question...lolI need to change a .htaccess file to a php.ini , how do I do this or all i need is for someone to show me how the following code should look in a php.ini file? thanksThis is what the .htaccess file looks like now:AddType application/x-httpd-php .htmphp_flag magic_quotes_gpc onphp_flag register_globals onTerry Link to comment https://forums.phpfreaks.com/topic/10372-phpini-file/ Share on other sites More sharing options...
wildteen88 Posted May 24, 2006 Share Posted May 24, 2006 To php.ini? You cant have multiple copies of a php.ini file! PHP will only use the master php.ini and not secound php.ini file! But any way.The first line doesnt even go into a php.ini as its an Apache only command. The php_flag magic_quotes_gpc on and php_flag register_globals on can be changed to the following though:[code]magic_quotes_gpc = onregister_globals = on[/code] Link to comment https://forums.phpfreaks.com/topic/10372-phpini-file/#findComment-38668 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.