Re: How to output to screen and a file at the same time?
Posted: Wed Mar 11, 2009 11:33 pm
you probably have the display_errors setting off. you need to set it. else you will find the error message in your apache error logs .
Code: Select all
ini_set('display_errors',1);
error_reporting(E_ALL); //to report all the errors onto the page.