mdvignesh Posted February 7, 2011 Share Posted February 7, 2011 i am php beginner ini_set("display_errors", "1"); explain the above statement it is used in index.php [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/226955-ini_set/ Share on other sites More sharing options...
beegro Posted February 7, 2011 Share Posted February 7, 2011 The function ini_set() is an "on the fly" modification to the php.ini file. The php.ini file is the PHP configuration file which controls how PHP will operate, manage memory, allow/disallow functionality, etc. So, by calling ini_set("display_errors", "1") you are overriding the php.ini setting of "display_errors" to now equal the value "1" for the duration of this script's execution. Quote Link to comment https://forums.phpfreaks.com/topic/226955-ini_set/#findComment-1170975 Share on other sites More sharing options...
Maq Posted February 7, 2011 Share Posted February 7, 2011 i am php beginner ini_set("display_errors", "1"); explain the above statement it is used in index.php Please read the manual - http://us.php.net/ini_set Quote Link to comment https://forums.phpfreaks.com/topic/226955-ini_set/#findComment-1171036 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.