Getting the actual error code for file operations
Posted: Tue Dec 09, 2003 10:15 pm
Assume the example:
$myFile = fopen("foo.txt","r");
If this returns false, how can I check what the reason for the error is? Is there an error type object or method like in VB?
I am actually programming in Linux RH9 and version 4.?? of PHP.
Thanks
$myFile = fopen("foo.txt","r");
If this returns false, how can I check what the reason for the error is? Is there an error type object or method like in VB?
I am actually programming in Linux RH9 and version 4.?? of PHP.
Thanks