Re: System errno in PHP

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

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux