Your assignment is to make a database of pictures. There are several pages.
The database should use longblob and autoincrement
There is code to model off of at http://euclid.nmu.edu/~rappleto/Classes/CS465/PHP/Files/easy_file_upload*
*** Insert a Picture Page ***
- Ask for a filename
- Stick the file into the DB
*** Show A Picture Page ***
- Get a file ID
- header("Content-type: image/jpeg") or header("Content-Type: image/gif")
- Output the data (AND NOTHING ELSE. A SINGLE BYTE BREAKS THE IMAGE)
*** Picture Index Page ***
- Make a nice table or something ...
- For every picture in the database, emit code like this
*** Delete a Picture Menu page ***
- Make a nice table or something
- For every picture in the database, emit code like this
*** Delete a Picture page ***
- Delete the DB row for the given id
- Set the location back to the Delete_a_Picture_Menu page
(BONUS POINT IF YOU HAVE THUNBNAILS WITHOUT SENDING FULL SIZE IMAGES)
One point for every item with a "-" above (out of 11).
Insert a page due Mon Sep 28th
Rest Monday Oct 5th, 2020.