I need to be able to upload 2 files. The first has to be an image file and he second should be a zip/rar file. I have the following code, from here, that is uploading the files correctly.
I now need to store the 2 filename in a database in the same row. I also want to rename the files so they have the same filename but keeping their original extensions. Is it possible to adapt this script, or is there anything else that can already do this sort of thing. I am fairly new to PHP but am willing to learn.