Implement image file handling in PHP

Working but no error handling at all ;)