AW: PHP in der Shell
Florian Schödel <[email protected]>
| Newsgroups | gmane.linux.suse.programming |
|---|---|
| Message-ID | <[email protected]> |
Hallo Boris, kann es evtl. sein, dass eine php config datei verwendet wird, wenn du das Script über den Webserver startest, als über die Shell? Vergleiche mal beide Ausgaben über die Config file in der phpinfo(). Mal noch eine kleine Frage am Rand: Funktioniert bei Dir die mysqli_connect Funktion: --- function mysqli_connect( string[optional] $hostname, string[optional] $username, string[optional] $passwd, string[optional] $dbname, int[optional] $port, string[optional] $socket) Open a connection to a mysql server Parameters: hostname string[optional] username string[optional] passwd string[optional] dbname string[optional] port int[optional] socket string[optional] Returns: Object --- Viele Grüße Florian -----Ursprüngliche Nachricht----- Von: Boris Höffgen [mailto:[email protected]] Gesendet: Donnerstag, 17. November 2005 15:22 An: [email protected] Cc: Alexander Muthler Betreff: Re: PHP in der Shell Alexander Muthler wrote: > Schau mal was > > phpinfo (); > > in einem php-Skript liefert. Steht da irgendwas mit mysql? > Ja, es fängt mit dem Modulnamen an und dann kommen die Optionen. Gruß Boris -- Um die Liste abzubestellen, schicken Sie eine Mail an: [email protected] Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken Sie eine Mail an: [email protected] -- Um die Liste abzubestellen, schicken Sie eine Mail an: [email protected] Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken Sie eine Mail an: [email protected]