Hi,
I am very new to PHP. I am trying to view the file from remote host. So I used ftp_connect() function to try to access the file.
But its get failed. It throwing Fatal error: Call to undefined function ftp_connect() in /nfs/www/ftp_ex.php on line 3 .
<?php
$ftp_server = "host_name";
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
?>
I have checked php_info(), ftp is activated also.
confirmed ftp with php.ini file also.
But still same error is throwing.
Could anyone help me to solve the problem?
Thanks.