PHP for file upload added - Old code and 1 fix