Hi
i'm trying to create an FTP upload system using PHP. I need to be able to select an image file using HTML form then upload it via FTP. I have been able to achieve it using the upload function in php, but i need it to be via FTP.
I can connect to the FTP server using PHP and create directories but i'm struggling to get the ftp_put function to work. I'm unsure on how to pass the remote file info to the function and other things.
Does anyone know of any simple examples?
cheers
Dan Morton
i'm trying to create an FTP upload system using PHP. I need to be able to select an image file using HTML form then upload it via FTP. I have been able to achieve it using the upload function in php, but i need it to be via FTP.
I can connect to the FTP server using PHP and create directories but i'm struggling to get the ftp_put function to work. I'm unsure on how to pass the remote file info to the function and other things.
Does anyone know of any simple examples?
cheers
Dan Morton