Cookies implemented

Post is a super global and therefore doesn’t merit a ‘global $_POST’.

There is no real safe way to implement cookies. They are stored on the
client and sent to the server every time, so they are a valuable target
for theft.