|
Finally got to playing with this.
It certainly stops the form being submitted for file extensions that are not in the array, however do not rely on it to prevent possible malicious uploads. Always ensure that a server side check is also in place, as I said in post #6, javascript can be turned off and then there would be no checks in place.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|