komquat Posted February 19, 2009 Share Posted February 19, 2009 I do not have control of the php.ini files for my web hosting, so is there a way I can turn it on for the webpage I am working on, then it off when leaving the page? Link to comment https://forums.phpfreaks.com/topic/145939-in-browser-php-errors/ Share on other sites More sharing options...
peddel Posted February 19, 2009 Share Posted February 19, 2009 I know that certain values of the php.ini file can be set by using the function ini_set(). More info on : http://be2.php.net/ini_set For ur problem u need to use <?php ini_set('display_errors',1); ?> Link to comment https://forums.phpfreaks.com/topic/145939-in-browser-php-errors/#findComment-766158 Share on other sites More sharing options...
wildteen88 Posted February 19, 2009 Share Posted February 19, 2009 For ur problem u need to use <?php ini_set('display_errors',1); ?> You should also set error_reporting to the highest level too <?php error_reporting(E_ALL) ini_set('display_errors',1); ?> Link to comment https://forums.phpfreaks.com/topic/145939-in-browser-php-errors/#findComment-766380 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.