Quote:
Originally Posted by cbk1994
Can you explain how you would limit the files they can upload? I'm not too keen on players uploading .exe files, for example.
|
Well you just process the files once they have been uploaded and discard them using some sort of script if they are not suitable.
PHP doesn't do that any differently. It has to receive the entire file before it can determine it's type and discard it.