What is password hashing? It turns a string (of any length) to a fixed length “fingerprint” that cannot be reversed. For example, my password is “i1love2coding3″, when hashed, it can be converted to a 60 character “ytwqwxpbx1oxbfvmpoaafckmat2zkdsjaxs…” which will be stored to the database. RELATED: PHP Login Script with Session Tutorial – Step by Step… Continue reading How To Salt, Hash and Store Passwords Securely?
Previously, we learned how to create, read, update and delete database records on our PHP OOP CRUD tutorial. Today, we will put some of that knowledge to work by building a simple PHP login script with session. Overview Login? Logout? Sign Up or Register? We see this functionality in almost every website we use today.… Continue reading PHP Login Script with Session Tutorial – Step by Step Guide!
Note: People say it isn’t actually a watermark, the image appended can be called a “Caption” or “Hidden Subtitle”. So in this post, when I say “watermark”, it refers to the ”Caption” or “Hidden Subtitle”.Nowadays I see many websites with image contents. Funny images, interesting images, cosplay, art and many more kinds of images. Many… Continue reading Append Subtitle/Caption Image Using PHP and Hide It with CSS
Previously, we learned how to run your first PHP script. This time, we will learn CRUD operations with PHP and MySQL. CRUD stands for Create, Read, Update and Delete database records. Overview This tutorial is for your if: You need a high quality and updated reference for a PHP CRUD tutorial. You need to learn… Continue reading PHP CRUD Tutorial for Beginners – Step By Step Guide!
Have you ever received unsolicited (Spam) messages, comments or notifications in your email, facebook account, or to other services you are using online? Probably yes. I think almost all people using the internet experienced it already. There are trillions of spam messages sent every year. One effective way to prevent those spam messages to your… Continue reading How To Customize reCAPTCHA
PHP Quick Tip: Someone asked me how to display image from database in PHP. Here’s how I did it. In this code, we will use two files – index.php and source.php and a database table with sample image data stored. Please note that I used BLOB data type for storing my images, it can handle… Continue reading How To Display Image from Database in PHP?
Hi guys! Today we’ll be sending email using the PHPMail Function. I think this is much easier than using a PHP library like PHPMailer. You don’t have to specify your email address and password to sent email, just specify the “from” email address you want. But you must have a live mail server. By the… Continue reading How To Send Email Using PHP Mail Function