Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
[Question] Dumbest thing/mistake you've done whilst coding
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Markshall" data-source="post: 365459" data-attributes="member: 1872"><p>Let's face it, no one's perfect at anything so we've all made mistakes when coding, so what's your biggest mistake?</p><p></p><p>Personally, my dumbest mistake was about about 5 years ago when I was developing a publicly released user system in PHP, basically what I did was set up my users table in phpMyAdmin and I had these 2 columns, one was 'password' and the other was 'password_un'. 'un' standing for 'unprotected' (lol.)</p><p></p><p>Looking back, it's one of the stupidest things I've done. Why have a column for a hashed password, and a column for the un-hashed password. Reason being was that I wanted to be able to email users with the content of 'password_un' in their user record in the event of them forgetting their password.</p><p></p><p>TL;DR: "stored hashed and un-hashed passwords in database to be able to email users their un-hashed password when they forget it"</p><p></p><p>So what's yours?</p></blockquote><p></p>
[QUOTE="Markshall, post: 365459, member: 1872"] Let's face it, no one's perfect at anything so we've all made mistakes when coding, so what's your biggest mistake? Personally, my dumbest mistake was about about 5 years ago when I was developing a publicly released user system in PHP, basically what I did was set up my users table in phpMyAdmin and I had these 2 columns, one was 'password' and the other was 'password_un'. 'un' standing for 'unprotected' (lol.) Looking back, it's one of the stupidest things I've done. Why have a column for a hashed password, and a column for the un-hashed password. Reason being was that I wanted to be able to email users with the content of 'password_un' in their user record in the event of them forgetting their password. TL;DR: "stored hashed and un-hashed passwords in database to be able to email users their un-hashed password when they forget it" So what's yours? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
[Question] Dumbest thing/mistake you've done whilst coding
Top