Re: System errno in PHP

From: Date: Tue, 19 Feb 2008 19:30:29 +0000
Subject: Re: System errno in PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-269648@lists.php.net to get a copy of this message
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@gmail.com> 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?

« previous php.general (#269648) next »