From:             [EMAIL PROTECTED]
Operating system: CGI on Apache
PHP version:      3.0.14
PHP Bug Type:     Documentation problem
Bug description:  Documentation error

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.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to