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? Quote Link to comment 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); ?> Quote Link to comment 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); ?> Quote Link to comment 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.