php

PHP - Users Online Script

Submitted by softafzar.net on
Hello, if you are developing a web application, you may need this online users script to show how many users is online. Yesterday i wrote a php class for it and decide to share it. Creating table Well, Before using this class, you must create a table in your database: CREATE TABLE `online_users` ( `session_id` char(150) NOT NULL, `last_activity` int(11) NOT NULL default '0' ); Creating php file

PHP/MySQLi Creating a Forum - Part 7 - Subscriptions #2

Submitted by Yorkiebar on
PHP/MySQLi Creating a Forum - Part 6 - Subscriptions #1 Introduction: This tutorial will be continuing my series of creating a forum in PHP/MySQLi/HTML. In this seventh part, we are carrying on with the subscription feature. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.

PHP/MySQLi Creating a Forum - Part 5 - Adding Ratings

Submitted by Yorkiebar on
Introduction: This tutorial will be continuing my series of creating a forum in PHP/MySQLi/HTML. In this fifth part, we will be adding ratings to the threads, I am going to use simple "1 Star" etc. text in order for the user to rate the threads, but you can use images (a star for example). Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.

PHP/MySQLi Creating a Forum - Part 4 - Adding & Listing Replies

Submitted by Yorkiebar on
PHP/MySQLi Creating a Forum - Part 3 - Thread Page Introduction: This tutorial will be continuing my series of creating a forum in PHP/MySQLi/HTML. This is the fourth and (for now) the final part which is adding reply functionality. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.

PHP/MySQLi Creating a Forum - Part 1 - Database and Creating Threads

Submitted by Yorkiebar on
Introduction: This tutorial will be starting my series of creating a forum in PHP/MySQLi/HTML. As this is the first part, we will be; Creating the database. Making a create thread page. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.

PHP/MySQLi Messaging System

Submitted by Yorkiebar on
Introduction: This tutorial will be going over a basic PHP messaging system between users. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users. Database: We are going to be storing all of the messages in a database named 'messagesTutorial', and in there a table named 'messages'. Let's create these now; Go to PHPMyAdmin and enter 'messagesTutorial' followed by pressing the 'create' button.

Task Management System

Submitted by Yorkiebar on
Introduction: This tutorial will is going to be on how to create a task management system in PHP... it's going to be a long one! Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Database: We are going to be storing all of the created tasks in a database named 'tasksTutorial', and in there a table named 'tasks'. Let's create these now; Go to PHPMyAdmin and enter 'tasksTutorial' followed by pressing the 'create' button.

PHP Security (Form, Password Encryption, Fake Options)

Submitted by Yorkiebar on
Introduction: This tutorial will cover adding security in to your forms with PHP/HTML. Pre-creation: I am going to be using my login form as an example for this page, you can find my tutorial on a login form here; Login Form Tutorial. What security flaws are there? Whenever a user enters data in to your web forms the data gets processed as it is, and as such, needs the creator to add in security checks.