Re: System errno in PHP

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

 



PHP catches all thsoe and prints nifty error message.

I presume the error number is in the guts somewhere, and could be
exposed easily enough if you worked at it...

But I don't think there is any kind of variable today with it in there.

php_errmsg used to have the error message in it, but that depends on
php.ini setting, and seems to be passe these days...

On Tue, February 19, 2008 7:36 am, Michal Maras wrote:
> I am now using filesystem functions fopen, fread, fclose, ...
>
> On 19/02/2008, Stut <stuttle@xxxxxxxxx> wrote:
>>
>> Michal Maras wrote:
>> >  Coud somebody tell me if it is possible to get integer value of
>> variable
>> > which name in C is errno end in perl $!.
>> >  I am PHP beginner so I am sorry if question is 'stupid'.
>>
>> What function are you calling where you expect to get a system
>> error?
>> Check the manual page for that function - it will tell you how to
>> detect
>> errors.
>>
>> -Stut
>>
>> --
>> http://stut.net/
>>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
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