You are here: Re: Trapping errors fopen « PHP Programming Language « IT news, forums, messages
Re: Trapping errors fopen

Posted by Richard Brooks on 03/19/07 15:30

countach said the following on 19/03/07 15:12:
> En las nuevas, el Richard Brooks escribió:
>> How do I stop the on-screen reporting of the handle error when the
>> file does not exist yet ?
>>
>> if (($handle1 = fopen($authFile3, 'r')) === FALSE) { return false; }
>>
>> Richard.
>
> --- @fopen(...
>
> An @ before any command will avoid the on screen error message flush .

So simple! Many thanks and yet damn you (in the nicest possible sense)
as that means I have to carry on working now. :-)

Richard.


--
"This week I have mostly been listening to -
The Film Music of Alan Rawsthorne and British Film Music Volumes I & II.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация