upload a file using FTP and php
问题 I can't Upload the file using php because i can't send the path i got from the html file to the function FTP_PUT because it only takes string "test.txt" How Can i send the Path to this function PHP FILE $file = $_POST["file"]; // upload file if (ftp_put($ftp_conn, $file, $file, FTP_BINARY)) { echo "Successfully uploaded $file."; } else { echo "Error uploading $file."; } // close connection ftp_close($ftp_conn); HTML FILE <div class="container"> <div class="row"> <div class="col-lg-12"> <form