I have asked this question twice i think, but this is the first time i have gotten close to this. I am planning on allowing users to upload and download their files (.pdf,
There is a million of file uploading scripts out there. This one is not worse than the others.
Although the "protection" from uploading files other than pngs will not work (it only checks the name of the file).
Uploading files is quite safe - it's giving others the chance of downloading them that opens your server to certain types of attacks. The article you referenced does not mention two important points: