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.