PHP 4.0 Bug #10256 Updated: Documentation error

From: Date: Tue, 10 Apr 2001 13:29:39 +0000
Subject: PHP 4.0 Bug #10256 Updated: Documentation error
Groups: php.dev 
Request: Send a blank email to php-dev+get-51267@lists.php.net to get a copy of this message
ID: 10256 Updated by: hholzgra Reported By: webkid@webkid.com Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: so the ftp functions have not been included into the CGI executeable that you use these functions are not enabled by default, you have to explicitly give the --with-ftp option to configure before building the CGI executeable to enable them Previous Comments: --------------------------------------------------------------------------- [2001-04-09 21:54:27] webkid@webkid.com The ftp_connect and other ftp commands are not supported in PHP 3.0.14, as the documentation states. An example: <? $id=ftp_connect("$host"); ftp_login($id, "$user", "$pass"); printf nlist($id, "/home/$user"); printf rawlist($id, "/home/$user"); ftp_quit($id); ?> Results in: Fatal error: Call to unsupported or undefined function ftp_connect() in odd.php3 on line 2 This was verison of the CGI PHP 3.0.14 was wupplied with the site, so perhaps it's an option that was initally edited to create the infunctionality. (What's even better is that my providers insist that I'm using PHP 4) Any help would be apreciated. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10256&edit=2

« previous php.dev (#51267) next »