You are here: Re: How to check a url is valid « PHP Programming Language « IT news, forums, messages
Re: How to check a url is valid

Posted by Toby Inkster on 11/16/05 10:36

Toby Inkster wrote:

> Krustov wrote:
>
>> @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.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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