NYCPHP Meetup

[nycphp-talk] fopen killed the script

joshmccormack at travelersdiary.com joshmccormack at travelersdiary.com
Tue May 27 15:42:46 EDT 2003


You can see an example of using an error message with fopen, and logging it here:
http://www.devshed.com/Server_Side/PHP/DBAbstraction/page10.html

Josh

On Tue, 27 May 2003, LY wrote:

> Hi All,
> Normally when fopen("a.txt","r") can't open a file, either the
> file doesn't exist, or can't read, it should return "FALSE", but
> my "fopen" kill my script and no error message printed out.
> Could someone help to tell if it is PHP configuration problem,
> or a PHP bug? How to log this error message? 
> 
> Thanks in advance!
> 
> LY
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 




More information about the talk mailing list