I have a PHP form that lets people upload .wav files to my site.
I need the files to be renamed from what they origionally were (say, bass.wav, drums.wav) to a sequential number.
So the first file uploaded will be named 1.wav, then 2.wav, then 3.wav, then 4.wav. etc etc.
There are tutorials for renaming to random numbers but not sequential.
How could this be done?