Script hangs on 
Author Message
 Script hangs on

By Php scripts I am connecting to database SERVER:

<?php
$port="9939";
$host="210.111.1.10";
pg=pg_connect($port,$host);
....
....

?>

It works good enough.
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?

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.***.com/



Sun, 23 Nov 2003 14:11:24 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. P7 script hangs as at job

2. Cursor script hangs in loop

3. Script Hangs on

4. ASP script hangs on ADO Open

5. SCRIPT HANGS UP ON "CREATE" COMMAND

6. Problem with a script hanging

7. Cursor script hangs in a loop

8. Cursor script hangs in loop


 
Powered by phpBB® Forum Software