title: Php: How to store a token and retrieve it for comparing?
body: <p>Hi I am creating a token to compare against some record on the database to log a user in. I am using <code>token = openssl_random_pseudo_bytes</code> to set this random string, but how its stored on the browser and database seem to be different. How do I compare these two strings?</p>