Re: acceder a interbase(win32) desde php(linux)
| From: | Nogoff | Date: | Thu, 14 Mar 2002 00:00:15 +0000 |
| Subject: | Re: acceder a interbase(win32) desde php(linux) | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-20341@lists.php.net to get a copy of this message | ||
Hola Leo. El día 14/03/2002 escribiste:
LM> Tengo instalado Apache+php con soporte para interbase en linux y
LM> Interbase Server 6.0 en win98. Como debo llamar a la función
LM> ibase_connect($server,$user,$passwd) para que me localice la base de datos?
Hola Leo. El parámetro $server es una cadena indicando el archivo que
contiene la base de datos. Si no es local, hay que añadir alguna
cosilla: en el manual puedes encontrar lo siguiente...
ibase_connect
Establishes a connection to an InterBase server. The database argument
has to be a valid path to database file on the server it resides on.
If the server is not local, it must be prefixed with either
'hostname:' (TCP/IP), '//hostname/' (NetBEUI) or 'hostname@'
(IPX/SPX), depending on the connection protocol used. username and
password can also be specified with PHP configuration directives
ibase.default_user and ibase.default_password.
Espero que te sirva de ayuda. Un saludo.
--
Nogoff
<nogoff73@yahoo.com>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com