Is there a way that one could check to see if a file is of a certain type before uploading.
I’m making an audio application, and only want to allow the user to be able to upload audio files.
Is there a way to check if a file is of an audio type?
mp3, wav…
johnny
October 4, 2020, 9:59pm
2
Yes, I believe in the file uploaded there is a check box you need to tick to do this
What file uploader are you using?
johnny
October 5, 2020, 7:26am
4
My bad, I spoke wrong. There isn’t a way to do this via the file uploader, but I suppose you can just make a check making sure the file extension ends in xyz
system
Closed
December 13, 2020, 9:58pm
5
This topic was automatically closed after 70 days. New replies are no longer allowed.