Skip to main content

Timeline for Password reset system in PHP

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Feb 22, 2021 at 22:03 history edited KIKO Software CC BY-SA 4.0
added 1 character in body
Feb 1, 2021 at 8:22 comment added KIKO Software @YourCommonSense That's true, but you're ignoring the {{ and }}, these would have to be added in the array, I chose this method.
Feb 1, 2021 at 6:05 comment added mickmackusa Wow, I was just going to say the same thing. If you are going to construct an associative array, just call strtr(). (It just took me ~15 minutes to read this review) I found trim() to be unnecessary after sanitizing the email. empty() is not necessary when a variable is guaranteed to be declared -- just use a falsey check.
Feb 1, 2021 at 5:48 comment added Your Common Sense psst! str_replace already works with arrays, though separate ones. And strtr works with the exact array you made
Jan 31, 2021 at 22:45 history edited KIKO Software CC BY-SA 4.0
added 35 characters in body
Jan 31, 2021 at 22:39 history edited KIKO Software CC BY-SA 4.0
added 2 characters in body
Jan 31, 2021 at 22:26 history answered KIKO Software CC BY-SA 4.0