#21395 [Com]: [chm] bug on function.ftp-connect.html
| From: | mshivakkumar1978 at hotmail dot com | Date: | Sat, 01 May 2004 07:54:39 +0000 |
| Subject: | #21395 [Com]: [chm] bug on function.ftp-connect.html | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59086@lists.php.net to get a copy of this message | ||
ID: 21395
Comment by: mshivakkumar1978 at hotmail dot com
Reported By: jkiefl at freenet dot de
Status: Bogus
Bug Type: Other web server
Operating System: linux
PHP Version: 4.2.3
New Comment:
I had the same problem
Fatal error: Call to undefined function: ftp_connect()
but i added the extension --enable-ftp in php.ini file. But it doesnt
work out.I dont know why ?? Even it doesnot display FTP Support
Enabled in the phpinfo() page.
can anyone plzz help me to sort it out this problem. My php version is
4.3.3
shiva
Previous Comments:
------------------------------------------------------------------------
[2003-01-03 14:07:07] nicos@php.net
This is NOT a bug. You need to enable FTP extension with --enable-ftp,
then the functions will work.
Thank for your report.
------------------------------------------------------------------------
[2003-01-03 14:05:19] groith at tcrz dot net
You should add a @ for the ftp_connect and ftp_login, etc .........
------------------------------------------------------------------------
[2003-01-03 13:56:56] jkiefl at freenet dot 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