php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21395 [chm] bug on function.ftp-connect.html
Submitted: 2003-01-03 13:56 UTC Modified: 2003-01-03 15:25 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jkiefl at freenet dot de Assigned:
Status: Not a bug Package: Other web server
PHP Version: 4.2.3 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jkiefl at freenet dot de
New email:
PHP Version: OS:

 

 [2003-01-03 13:56 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-03 14:05 UTC] groith at tcrz dot net
You should add a @ for the ftp_connect and ftp_login, etc .........
 [2003-01-03 14:07 UTC] 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.
 [2004-05-01 09:54 UTC] mshivakkumar1978 at hotmail dot com
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
 [2004-05-01 09:55 UTC] mshivakkumar1978 at hotmail dot com
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC