1 Like
Claude Shannon, father of Information Theory and the man who coined the word ‘bit’, would have turned 01100111 today!
3 Likes
lol
5 Likes
7 Likes
It’s time for me to mark student’s work again. Here’s a nice try at a log in system. The password was hashed in the database and everything.
if (isset($_POST["user_name"]) && isset($_POST["password"])) {
$results = $pdo->prepare("SELECT user_name, password FROM users
WHERE user_name = :user");
$results->execute([':user' => $_POST["user_name"] ]);
$row = $results->fetchAll();
if(count($row) < 1){
echo "wrong details";
}
else {
$_SESSION['loggedin'] = true;
3 Likes
8 Likes
6 Likes
6 Likes
Not sure if memes are okay in this thread, but this one is just too relatable…
4 Likes
ooops, sorry, wrong forum.
coothead
1 Like
7 Likes