i am trying to connect to my WAMP server named localhost by ftp_connect();
$conn_id=ftp_connect('localhost'); if(!conn_id) echo "error in connection"; else echo "connected";
but its displaying "error in connection"
i tried to use 127.0.0.1 instead of localhost and i also turned on the ftp server facilities of windows but nothing is happening.....
any help is highly appreciated