|
Posted by Krustov on 11/16/05 16:05
<comp.lang.php , Toby Inkster , usenet200511@tobyinkster.co.uk>
<el7r43-80h.ln1@ophelia.g5n.co.uk>
<Wed, 16 Nov 2005 08:36:30 +0000>
> >> @open didnt work for me - but fopen appears to work fine .
> >
> > That's the one. My mistake -- should have tested it really.
>
> I still advise using the @-sign though:
>
> @fopen()
>
> the @ suppresses PHP's error-printing (assuming you have it switched on at
> all), so the visitors won't see any ugly message if things go wrong --
> just your own pretty message.
>
Current web host suppresses error printing - but noted for the future .
Navigation:
[Reply to this message]
|