celestine
06-11-2005, 01:43 AM
Recently, I changed servers for my site and my new host does not has FTP support in their PHP configuration. I have requested for FTP to be added but I am doubtful they will do so.
I have an upload script that uses remote ftp functions because the files are to be uploaded onto a different server. Each file uploaded will also be added to the database which is located in the new server (file server). I cannot find an easier way to workaround the FTP problem since I need to retrieve and verify data from the database and upload the files onto a different servers.
Someone has suggested to me that I have the upload form point to a script on the file server itself but problem arises when I need to verify the data with the database. So I find myself stuck between using remote FTP or remote access to the database. Does anyone have any advice for me? Thank you for your time.
I have an upload script that uses remote ftp functions because the files are to be uploaded onto a different server. Each file uploaded will also be added to the database which is located in the new server (file server). I cannot find an easier way to workaround the FTP problem since I need to retrieve and verify data from the database and upload the files onto a different servers.
Someone has suggested to me that I have the upload form point to a script on the file server itself but problem arises when I need to verify the data with the database. So I find myself stuck between using remote FTP or remote access to the database. Does anyone have any advice for me? Thank you for your time.