Reply to Re: How to check remote file...

Your name:

Reply:


Posted by sree on 08/17/06 15:08

Hi Rik,

Do you know the exact options curl???




Rik wrote:
> sree wrote:
> > Hi,
> >
> >
> > i want to check whether a file from remote server is existed or
> > not.
> >
> > The file_exists() checks for local server only.
>
> Actually, starting at PHP5 it will work on some url's.
>
> > But i want a function
> > that checks the remote server.
> >
> > If anyone knows please help..
> >
> > thanks in advance...
>
> I'm not sure exactly how. You could possibly use fsockopen en send a HTTP HEAD
> request, and check the response. There may be better options in curl available.
>
> Grtz,
> --
> Rik Wasmus

[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

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