Upload images to server using PHP.