Reply to Re: Testing if file exists on a web server

Your name:

Reply:


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.

[Back to original 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

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