linux-l: PHP3 und remote db-access
Philipp Grau
phgrau at ZEDAT.FU-Berlin.DE
Fr Mär 19 11:18:43 CET 1999
On Fri, Mar 19, 1999 at 06:18:05AM +0100, Thomas Knop wrote:
> Karlheinz Zinnhobler wrote:
> >
> > weiß jemand, wie PHP3 zu konfigurieren ist, wenn die db (z. B. Mysql
> > oder Informix) auf einem anderen Server liegt. Wie lautet ggf. die
> > Syntax um eine bestimme db unter einem bestimmten Informix-db-server auf
> > einer anderen Maschine mittels ifx_connect anzusprechen. Habe leider
> > auch in den mailing lists von PHP bislang nichts brauchbares gefunden.
> Wie wäre es mit dem PHP-Masnual und der Installationsanleitung?
> Ist doch nun wirklich kein Problem!
http://www.php.net/manual/
Genau, Cut&Paste aus der Anleitung:
ifx_connect
ifx_connect -- Open Informix server connection
[...]
Example 1. Connect to a Informix database
$conn_id = ifx_pconnect (mydb at ol_srv1, "imyself", "mypassword");
| ^Servername
^ Datenbankname
Was lehrt uns das? Wer lesen kann ist klar im Vorteil! :-)
\bye
Philipp
--
Philipp Grau | Freie Universitaet Berlin
phgrau at zedat.fu-berlin.de | Zentraleinrichtung fuer Datenverarbeitung
|
We had joy, we had fun, | we had Pacman on the sun...
Mehr Informationen über die Mailingliste linux-l