|
This is what I want to do: I need to have a way of uploading a file to the server and then performing a set of routines on it like moving it to another folder etc...
I can do it all but because of restrictions on the amount of data that can be uploaded by the php.ini file I can’t upload them through a form, as they are too large, so it will have to be done by FTP.
My idea is that the file is uploaded to a directory anywhere on the server and then the user goes to a form and enters some basic information such as the name of the song (it’s being created for mp3's) and the URL of the file. Can anyone give me any ideas how this could possibly work?
Would it be possible for the script to just check the folder for new files and then update the database information etc...?
How would I stop the user from using the URL of a file on a different server?
Thanks for any help you can give!!
|