How to Make Hangman Game Using HTML JavaScript

Submitted by alpha_luna on
A game is a good way to keep your visitors and yourself occupied in your site. This script is a reincarnation of the classic "Hang Man" game. You have to play against the computer. The vocabulary used in this game is configurable. This is a customized Hang Man game with images to display the wrong guesses. This is a cool and fun game to play. This is the game that the user/player will predict what is the word that the computer ask.

How To Make Bigger Image Viewer Using HTML JavaScript

Submitted by alpha_luna on
Have you encountered images that are so small or blur? These images need to be resized or zoomed in. There is a way to see this kind of images clearly. It is called "Bigger Image Viewer". In this tutorial, we are going to learn How To Make Bigger Image Viewer. So, what is it all about? From the name itself, Bigger Image Viewer automatically adds a caption beneath the images of your choice that when clicked on launches a bigger and clearer version of the image. There may be alteration from the original image to the enlarged version due to the process.

How to Create Login Page in PHP and MySQL with Session

Submitted by GeePee on
How to Create Login Page in PHP and MySQL with Session In my previous tutorial called "How to Create Secure Login Page in PHP/MySQL", I explain on the three ways on how create a login page using PHP/MySQL. This time, I will add more functionality on this tutorial. We will add session so that we will know if the visitor has logged in on our site or not. In PHP, there is a variable called $_SESSION. Session allow you to store information and used it in any pages that you like.

Server Side Form Validation (Registration Form)

Submitted by GeePee on
Validating a form using a JavaScript gives convenience to your visitors by avoiding page reload and other features that we discuss on our previous tutorial called Validate Login Page Using JavaScript. But validating a form using JavaScript alone is not safe. One reason is if the JavaScript is not enabled in the web browser.

How to Create Secure Registration Page in PHP/MySQL Part II

Submitted by GeePee on
mysqli extension works differently compared to mysql extension. The 'i' stands for improved. Which means that it has some features that cannot be found in mysql extension. There are two approach in using mysqli extension. They are Object Oriented style and Procedural style. If you are migrating your old PHP file to mysqli extension, I prefer you use the procedural style. It's very easy to convert it to mysqli this way. Looking at the example in our previous tutorial.

Age Calculation Edited Version

Submitted by Amoako on
This is a simple visual basic 6.0 age calculation I made. I just change the date input into datepicker so that user can easily select their date of birth. The function is still the same than the previous version. Just select the date of birth on start date caption and click ok, then you will see a computation of your age. If start date is greater than end date, form validation will appear saying