Brent R. Matzelle on Thu, 4 Apr 2002 15:36:15 -0500 |
--- marc <marcz908@yahoo.com> wrote: > in php, is there any way to find out why a function failed, > something like > errno, or perls $!, i am trying to use fread in my program, and i > know it's > failing because i'm putting an "or die(...) at the end of it, but i > want to > figure out WHY it is dying Turning error reporting on to its most verbose is the most efficient method: error_reporting(E_ALL); Brent __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|