Re: System errno in PHP

From: Date: Mon, 25 Feb 2008 17:30:39 +0000
Subject: Re: System errno in PHP
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-270081@lists.php.net to get a copy of this message
On Sun, Feb 24, 2008 at 10:22 AM, Michal Maras <maras.michal@gmail.com> 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); } ?>

« previous php.general (#270081) next »