I'm making an upload script and I've completed pretty much everything that I want to do, except for one little thing that I can't figure out how to do. I want to have it so that it won't let people upload files with spaces in them. Can anyone tell me how I would go about doing this?
This is the upload part of the script: