Posts by Gabriel Chaves • 39 points
2 posts
-
1
votes1
answer1373
viewsQ: Encrypt password and log in PHP and PDO
File login.php <?php session_start(); require_once '../includes/config.php'; if(isset($_REQUEST["post_back"])){ $tb = $conn->prepare("select nm_usuario, imgPerfil, nome from usuario where…
-
-3
votes1
answer305
viewsQ: Single user registration and password converting mysql_* to PDO
I need to update a legacy code and for that I need to make two modifications to it. The first change is to leave office mysql_* and use the PDO. The second is to update the database so that I can…