Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Four Options for a PHP Log-in Script

DZone's Guide to

Four Options for a PHP Log-in Script

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

 

A PHP Login Script

This is a Github project that will suggest four different ways of creating a PHP log-in script. Because a log-in script is a piece of functionality that you will need in most types of projects, you can use this log-in script as good boilerplate in your next project.

This script uses the new PHP 5.5 password_verify() and password_hash() functions.

This is a simple, secure, clean, stylish, non-nerdy, well-documented, object-oriented, totally free and reduced-to-the-max PHP log-in script. It uses the ultra-modern and future-proof PHP 5.5 BLOWFISH hashing/salting functions (includes the official PHP 5.3 and PHP 5.4 compatibility pack, which makes those functions available in those versions too). The strength of the encryption can be increased (and decreased) to stay secure, even if server technology (and hacker technology!) gets much much stronger.

There are four different ways you can use this script:

  • One-File version. A full log-in system in one PHP file. Does not need a MySQL database, and the script comes with a full-power, SQLite one-file database
  • Extremely reduced (perfect for quickly setting up your project and made for people who need a simple log-in)
  • Advanced (many more features)
  • Full MVC framework (even more features and professional MVC framework code structure)

PHP Login Script

Github PHP Login Script

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:

Published at DZone with permission of Paul Underwood, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}