Did you compile in ftp support? It's not there unless you do. http://www.php.net/manual/en/ref.ftp.php
----- Original Message ----- From: "Chris Kay" <[EMAIL PROTECTED]> > Would any one know why when I run command line php I get the following? > > [root@*** ****]# /usr/bin/php /data/web/root/***/getdata.php > X-Powered-By: PHP/4.1.2 > Content-type: text/html > > <br> > <b>Fatal error</b>: Call to undefined function: ftp_connect() in > <b>/data/web/root/***/getdata.php</b> on line <b>16</b><br> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php