Hello,
I run puppyfiles.us, and I've been using php on the site for some time.
Today, I noticed that my coding isn't working any more. Specifically, I'm getting the following error:
Fatal error: Call to undefined function: ftp_connect() in /var/www/vhosts/puppyfiles.us/httpdocs/.VERSIONS on line 25
The offending code in .VERSIONS (an included file) is:
$ftp_server = "puppyfiles.us";
$conn_id = ftp_connect($ftp_server);
$login_result = ftp_login($conn_id, "anonymous", "puppyfiles");
if ((!$conn_id) || (!$login_result)) {
die("FTP connection has failed !");
}
I have no clue why this happened. Any help/ideas is greatly appreciated!
Thanks in advance!
Babbs