On Sun, Feb 24, 2008 at 10:22 AM, Michal Maras <maras.michal@xxxxxxxxx> wrote: > Hi > > Thank you for answer, but I do not understand. > How can I use this class Errno after unsuccessful fopen? > I want to get the number, for example 13 if there is not enough permissions > to open file. > It is not problem for me that script will be no portable, it is > only for AIX. fopen() doesn't return that information. fsockopen() does, but not fopen(). RTFM: http://php.net/manual/en/function.fopen.php -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php