Page 2 of 2

Re: How to output to screen and a file at the same time?

Posted: Wed Mar 11, 2009 11:33 pm
by susrisha
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.
 

Re: How to output to screen and a file at the same time?

Posted: Thu Mar 12, 2009 12:06 am
by vmene
check whether u have given the correct file name.

Re: How to output to screen and a file at the same time?

Posted: Fri Mar 20, 2009 10:04 am
by becky-atlanta
I had seen this before when I have an inconsistent variable for the file name. It is hard to troubleshoot without looking at the code.