Just check our new amazing Online Exif Tool
Hint: there's no database. Think about files that are being created, and read PHP documentation.