PHP Tutorial

  • Submitted by: 
    Introduction: This tutorial is the third and final episode to the User Levels section of my Forum Creation Tutorial series. In this part, we are going to be adding banning functionality and giving the admins their privileges. Admin Privileges: This part is essentially the same as the moderator privileges part found the previous tutorial. Once the user has logged in using our login form found in...
  • Submitted by: 
    This tutorial will teach you on how to save data on text file using php. The feature of this tutorial is it will allow you to save information without using any database. It also provide a confirmation message that you have successfully save the data in the text file. To understand more this tutorial follow the steps bellow. Creating Our Form The code bellow will display the form and the...
  • Submitted by: 
    Introduction: This tutorial is carrying on from my previous tutorial of User Levels #1 on a Forum Creation Tutorial Series. Since this is #2, we are setting the permissions and actions for Moderators and creating the admin panel. Moderators: Because we will need to check the user level of the logged in user each time we want to check if they have privileges over other users, we are going to set a...
  • Submitted by: 
    Introduction: This tutorial will be continuing my creating a forum in PHP/MySQLi/HTML tutorial series. I have received a request to implement user levels to the system, so this tutorial will be setting up the things we need, and adjusting the register script to avoid errors. The Theory: Each user will have an access level, each of which have different permissions. There will be level 1 which will...
  • Submitted by: 
    Introduction: This tutorial is on how to add the ability for a user to delete their posts. The Theory: We could add a user panel where it lists all the users posts along with options to delete them, but instead we are going to add a delete option adjacent to the post itself to save space - plus I'm planning on making an admin panel tutorial soon. The PHP: So in the part of the PHP where we...
  • Submitted by: 
    Introduction: This tutorial will be on how to add status and signatures to user profiles. The status will show on their profile while their signature will show under their posts. Database Updates: We will need to store the information for both new features, so in our users table within our database we will add two new columns to the end of the structure: status - VARCHAR - 255 Length signature -...
  • Submitted by: 
    Introduction: This tutorial will be covering how to add email verification to your user account registration page. As a base for this tutorial, I will be using my already made series of pages from my forum creation series which can be found on my account tracking page (there's around 20 parts!). The Theory: The way this verification is going to work is; The user will enter their email upon...
  • Submitted by: 
    This tutorial will help you on how to display the number in price format using php. The feature of this tutorial is it allow you to display the number with two decimal point and put comma when the number of digits is four. To understand this tutorial follow the steps bellow. Step 1 : Creating our function script that convert the number in price format Copy the code bellow and save it as “index...
  • Submitted by: 
    This tutorial will teach you on how to get the difference of two time in PHP using php shorttime function. This code will help to thus programmer who want to limit the number of attempts in failed login and can login again with the defined time. To understand more about this tutorial, follow the steps bellow. Creating Our script that get the difference and display the result The code bellow will...
  • Submitted by: 
    This tutorial will teach you on how to query data base on two dates using PHP/MySQL between query. This tutorial is helpful if your are creating your system that needs sales report base on the range of date. To further understand this tutorial follow the steps bellow. Creating Our Database First we are going to create our database which stores our data. To create a database: 1. Open phpmyadmin 2...

Pages