<?php $ftp_server = "localhost"; $conn_id = ftp_connect($ftp_server,21) or die("Couldn't connect to $ftp_server"); ?>
Why is this happening? i can access the ftp server by conventional means (eg:typing "ftp localhost" at the linux command line or accessing it through an internet browser).
I have tried refering to the ftp server in different ways, like as 192.168.0.7(network ip address) or 188.8.131.52(internet ip).
Any help would be much appreciated.