Mader, Bob on Thu, 4 Apr 2002 15:10:33 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: [PLUG] php question


Marc,

Look in your apache error_log file. You could also try calling phpinfo() after the failing fread. Maybe there will be some clues there...

-Bob

-----Original Message-----
From: marc [mailto:marcz908@yahoo.com]
Sent: Thursday, April 04, 2002 2:43 PM
To: plug@lists.phillylinux.org
Subject: [PLUG] php question


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

thank you, Marc

______________________________________________________________________
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


______________________________________________________________________
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