I'm trying to upload a file from a web page.
On my page I have
$conn_id = ftp_connect($ftp_server);
Prior to that I stated my variables (user name etc.)
I get an error when I press the submit button, which points to THAT line I posted above.
I have tried in the declaration of $ftp_server to state "localhost" or "ip#value" or "ftp.domain.com" but still get the error. Is the problem on another line?
Here's how I'm declaring it:
$ftp_server ="ftp.domain.com";
I don't know how to tell if the problem is in this line, or if it is in another line altogether.
The line that follows is this:
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass, $destination_path);