Work on calling code in  upload.php