You are here: Re: Testing if file exists on a web server « PHP Language « IT news, forums, messages
Re: Testing if file exists on a web server

Posted by Colin McKinnon on 07/11/05 12:01

Hello wrote:

> No, that function can only be applied to a same server where the script is
> being run off, it will not do anything to a remote server.

>> Does
>> http://uk2.php.net/manual/en/function.file-exists.php
>> help?

HTTP provides for this (HEAD). IIRC this is not directly accessible via the
the file wrappers. It is possible via the command line version of curl - so
I'm guessing it's possible with libcurl too.

HTH

C.

 

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

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