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] 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. 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 Link to comment https://forums.phpfreaks.com/topic/226955-ini_set/#findComment-1171036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.