?PHP 4.0.5 and ftp_pwd
| From: | Gunter Ohrner | Date: | Thu, 17 May 2001 13:05:15 +0000 |
| Subject: | ?PHP 4.0.5 and ftp_pwd | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53232@lists.php.net to get a copy of this message | ||
Hi!
ftp_pwd does always return "1" (That is, True?) ?!?
What am I doing wrong?
,----[ This Code outputs '1'... ]
| $Stream = ftp_connect($Server, $Port);
| ftp_login($Stream, $Nutzer, $Passwort) || die("Fehler beim Einloggen auf
| dem FTP-Server!\n");
| $aktdir = ftp_pwd($Stream) || die("Konnte aktuelles Verzeichnis nicht
| lesen!\n");
| echo "Aktuelles Verz.: $aktdir\n"; // $aktdir == 1 ???
`----
Greetinx,
Gunter Ohrner
--
Tourist, Rincewind decided, meant "idiot". -- (Terry Pratchett, The
Colour of Magic)
+-+-+-+-+ http://www.scheibenwelt.de +-+-+ http://www.lspace.org +-+-+-+-+