You are here: Re: Server up/down script? « PHP Programming Language « IT news, forums, messages
Re: Server up/down script?

Posted by Gary L. Burnore on 08/29/07 03:00

On Tue, 28 Aug 2007 19:53:31 -0700, Carl Vondrick <carlv@carlsoft.net>
wrote:

> Albright.Brian@gmail.com wrote:
>> I'm not even sure if PHP is the correct tool to do this for...but I'm
>> wondering how difficult it would be to write something for my webpage
>> that just tells if my file server is up or down (assuming either they
>> are on the same network, or the server had a static IP).
>Use PHP to ping it. If there's no response within 100ms, it's down. :)

Hopefully the smily means you're joking. Using something like curl,
on the other hand, could tell you if it was responding by targeting a
particular page on some regular basis.

--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.| Official Proof of Purchase
===========================================================================

 

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

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