#21395 [Opn->Csd]: [chm] bug on function.ftp-connect.html
| From: | nicos@php.net | Date: | Fri, 03 Jan 2003 20:07:07 +0000 |
| Subject: | #21395 [Opn->Csd]: [chm] bug on function.ftp-connect.html | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29004@lists.php.net to get a copy of this message | ||
ID: 21395
Updated by: nicos@php.net
Reported By: jkiefl@freenet.de
-Status: Open
+Status: Closed
Bug Type: Other web server
Operating System: linux
PHP Version: 4.2.3
New Comment:
This is NOT a bug. You need to enable FTP extension with --enable-ftp,
then the functions will work.
Thank for your report.
Previous Comments:
------------------------------------------------------------------------
[2003-01-03 14:05:19] groith@tcrz.net
You should add a @ for the ftp_connect and ftp_login, etc .........
------------------------------------------------------------------------
[2003-01-03 13:56:56] jkiefl@freenet.de
I have found a bug on page function.ftp-connect.html
[chm date: 2002-12-27]...
<?php
// FTP-Verbindung
echo "Verbindung herstellen.......";
$hostip = gethostbyname(ftp2.kontent.de);
$conn_id = ftp_connect($hostip);
$login=ftp_login($conn_id,"XXXX.de","Passwort");
occured error message:
Fatal error: Call to undefined function: ftp_connect() in
/raid/domains/de/a/XXXX/htdocs/www/ftpupload.php on line 5
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21395&edit=1