A PHP4-based bulletin board creatively titled **Jake's Bulletin Board**. This was my first-ever full programming creation back in 2003 (if you couldn't tell) saved for posterity after being rescued from a dust-caked floppy disk. ## Usage If you're bored on a rainy day, potential activities could include: - Easiest code review you'll do in your entire career. (Or hardest, depending on your attitude.) - Hacking speed-runs to boost your infosec self-esteem. - Beating the [world record for longest laugh](http://goldenbookofrecords.com/longest-laughter/), currently held by Mr. Belachew Girma of Ethiopia with 3 hours and 6 minutes. - Actually getting this to run in 2019. ## Embarrassing Highlights Who cares if somebody wants to delete a post with the ID "`*`" no matter the author? ([delete_reply_submit.php](https://github.com/jakejarvis/jbb/blob/87b606797414b2fe563af85e269566fc5e076cc5/delete_reply_submit.php#L9)) ```php $query2 = "DELETE FROM jbb_replies WHERE replyID ='$replyID'"; $result2 = mysql_query ($query2) or die ($query2); ``` Sessions based on storing an auto-incremented user ID in a cookie. ([login_submit.php](https://github.com/jakejarvis/jbb/blob/87b606797414b2fe563af85e269566fc5e076cc5/login_submit.php#L28)) ```php session_id($user->userID); session_start(); $_SESSION["ck_userID"] = $user->userID; $_SESSION["ck_username"] = $user->username; $_SESSION["ck_groupID"] = $user->groupID; ``` Viewing a "private" message based solely on a sequential message ID. ([pm_view.php](https://github.com/jakejarvis/jbb/blob/87b606797414b2fe563af85e269566fc5e076cc5/pm_view.php#L13)) ```php $query1 = "SELECT * FROM jbb_pm WHERE pmID = '$pmID'"; ``` Incredibly ambitious emoticon and [BBCode](https://en.wikipedia.org/wiki/BBCode) support. I honestly can't begin to explain this logic. ([functions.php](https://github.com/jakejarvis/jbb/blob/87b606797414b2fe563af85e269566fc5e076cc5/functions.php#L18)) ```php $replacement = ''; $replacement2 = ''; $replacement3 = ''; $replacement4 = ''; $replacement5 = ''; // ... yada yada yada ... $replacement21 = ''; $replacement23 = ''; $replacement24 = '