|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-09-09 18:18 UTC] andersonsandri at hotmail dot com
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 23:00:01 2025 UTC | 
Description: ------------ I have 5 computer in my Store, one is a server. I'am trying connect to the data base that is in another computer in my LAN. The php script is in my Server (192.168.0.1) and the database is in MICRO004 (192.168.0.14) in the Directory "C:\apoio\", if I connect with the $host = Localhost, connect with sucess, but is not the correct database that I want to use. I want to use the database that is on Micro004. When I try to connect with the $host = 'micro004:C:\apoio\XXX.GDB'; show this error: Warning: ibase_connect(): Unable to complete network request to host "micro004". Failed to establish a connection. unknown Win32 error 10060 in c:\inetpub\wwwroot\apoio\classes.php on line 7 Fatal error: Maximum execution time of 30 seconds exceeded in c:\inetpub\wwwroot\apoio\classes.php on line 7 Reproduce code: --------------- <?php $host = 'micro004:C:\apoio\XXX.GDB'; //$host = 'localhost:C:\apoio\XXXX.GDB'; $username='SYSDBA'; $password='masterkey'; $db = ibase_connect($host, $username, $password) or die ("Erro ao Conectar o Banco."); ?> Expected result: ---------------- I woul like to connect the database that is on Micro004 in the directory C:\apoio\XXX.GDB (or computer 192.168.0.14) and not only the server (192.168.0.1).