After mighty struggles, I've got PHP/MySQL running to upload files and save/copy those files with a filename based on the auto-increment number generated by MySQL.
Problem is, the auto-increment number has leading zeros (i.e. 0000111) but when the file is saved, I just get "111". Is there any way to make the filename take on the full number so that the link between the db field and the file name could be exact?
All help appreciated.