Re: Script Hangs on

Поиск
Список
Период
Сортировка
От Ariunbold Gerelt-Od
Тема Re: Script Hangs on
Дата
Msg-id 3B1DC1FC.63DC2905@kikakuya.com
обсуждение исходный текст
Ответ на Script Hangs on  (Ariunbold Gerelt-Od <gereltod@kikakuya.com>)
Список pgsql-admin
Frist ,How in script could I Ping?
Second,from command line Ping also hangs.


Csaba Bobak wrote:

> > <?php
> > $port=9939;
> > $host=\"210.111.1.10\";
> > pg=pg_connect($port,$host);
> > ?>
>
> > But problem is if somebody suddenly switch off
> > the server(210.111.1.10), the script hangs on.
> > How would my script check that host is open before connecting?
>
> A simple ping maybe? :-)
>
> Csaba
>
> __________
> This message went through virus scan at Trend Ltd. which stated
> the message was clean of viri appeared before 2001.05.24.


В списке pgsql-admin по дате отправления:

Предыдущее
От: Grant
Дата:
Сообщение: Re: Script Hangs on
Следующее
От: Csaba Bobak
Дата:
Сообщение: Re: Script Hangs on