I have never used ftp in PHP, but now I 'm there.
And I cannot figure out what content I should give to the string "$ftp_server" in ftp_connect($ftp_server).
I would appreciate some advice.
I have never used ftp in PHP, but now I 'm there.
And I cannot figure out what content I should give to the string "$ftp_server" in ftp_connect($ftp_server).
I would appreciate some advice.
That would be the ftp server address. E.g.
$ftp_server = "ftp.example.com";
$ftp_server = "127.0.0.1";
you can use the domain name instead of the ip address
Thanks!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.