Skip to content
September 6, 2026
  • Turning Your Website into a Fully Functional and Secure Android and iOS Application
  • Securing Your CodeIgniter Application Against SQL Attacks
  • Creating a Web Application Installer with PHP PDO, MySQL, JavaScript, and Bootstrap
  • Create a fun card game in Python

Dan O'Riordan

Web Application Developer

  • Home
  • PHP
  • Codeigniter
  • HTML
  • Javascript
  • Visual Basic
  • C#
  • C++
  • CSS
  • Python
Codes
  • Turn website into mobile application

    Turning Your Website into a Fully Functional and Secure Android and iOS Application

    2 years ago
  • Securing Your CodeIgniter Application Against SQL Attacks

    2 years ago
  • Application Installer

    Creating a Web Application Installer with PHP PDO, MySQL, JavaScript, and Bootstrap

    2 years ago
  • Create a fun card game in Python

    2 years ago2 years ago
  • Wordpress

    Criteria for Creating a WordPress Plugin Using PHP 8

    2 years ago
  • 10 Unique Web Application Ideas & How to Build Them Without Losing Your Sanity

    2 years ago2 years ago
  • Home
  • login

login

  • PHP

Secure Login using MySQLi

Danno2 years ago2 years ago14 mins

In this post, we will implement a secure login system using PHP’s mysqli extension with prepared statements. This approach helps prevent SQL injection attacks and enhances the overall security of user authentication. Additionally, we will create session variables to maintain user state after successful login. Error handling and exception handling will be incorporated to ensure robustness. This…

Learn More...
Admin Photo

Hi, I am Dan. I’ve been designing web applications—on and off—since 2001, back when animated GIFs were all the rage and ‘responsive design’ meant answering your client’s emails. Over the past 14 years, I’ve kept pace with the ever-evolving trends in PHP development, successfully delivering a variety of projects that made my clients happy (and kept me caffeinated). This website serves as my soapbox—a place to share the insights I’ve picked up along the way with anyone curious enough to dive in. Welcome aboard! Want some custom work done? Pop me an email.

Email: dan@danoriordan.com

Recent Posts

  • Turning Your Website into a Fully Functional and Secure Android and iOS Application
  • Securing Your CodeIgniter Application Against SQL Attacks
  • Creating a Web Application Installer with PHP PDO, MySQL, JavaScript, and Bootstrap
  • Create a fun card game in Python
  • Criteria for Creating a WordPress Plugin Using PHP 8

Recent Comments

  1. infiniti-salon.com on Secure Login using MySQLi

Archives

  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024

Categories

  • C#
  • C++
  • Codeigniter
  • CSS
  • Development
  • HTML
  • Javascript
  • PHP
  • Python
  • Visual Basic