WelshTeckie
IS-IT--Management
Hi,
I need to set up a php page that connects to a ftp site and get information from a txt file and displays it.
At the moment I'm struggling with getting connected! (not a good start!)
Can anyone help, I am still a basic coder when it comes to php, so here is my code
$conn = ftp_connect("ftp://111.11.111.11/") or die("Could not connect");
ftp_login($conn,"user","pass");
ftp_close($conn);
I'm really at the testing phase and taking it step by step!
Any ideas, Thanks.
I need to set up a php page that connects to a ftp site and get information from a txt file and displays it.
At the moment I'm struggling with getting connected! (not a good start!)
Can anyone help, I am still a basic coder when it comes to php, so here is my code
$conn = ftp_connect("ftp://111.11.111.11/") or die("Could not connect");
ftp_login($conn,"user","pass");
ftp_close($conn);
I'm really at the testing phase and taking it step by step!
Any ideas, Thanks.