Tutorials

Social Networking Site: Reusing of Codes using PHP Include

Submitted by GeePee on
In this tutorial I'm going to show you how to reuse of codes using PHP includes, this including of files saves a lot of work. Since we are using a standard Header and Footer this is the best time to apply this concept. So that later on, if you need to update the header you can simply update the header include file not all the pages that has same header. To start with tutorial, open first our project called “philsocial”.

Social Networking Site: Loading the User Basic Information

Submitted by GeePee on
This tutorial, is a continuation of our previous topic called “Social Networking Site saving basic Information”. But this time we’re going to focus on how to load all the save information from the database. And it looks like as shown below: To start with this tutorial, open our project folder and select the file called “info.php”.

How to create a Simple Registration Form Using Modal

Submitted by GeePee on
In this tutorial I'm going to show you how to create a simple registration form using Modal. Instead of creating new web page for a registration form, we will use modal so that we could save memory and space in our web directory. To start with application we need to download first a twitter bootstrap framework for this we’ll be using it for this application.

Applying Object-Oriented Programming in PHP Pagination

Submitted by GeePee on
This tutorial is a continuation of our previous tutorial called “PHP Pagination”. At this time we’re going to focus on how to perform Pagination using Object-oriented Programming in PHP. Using this OOP we can minimize our code in creating a PHP pagination in our all web pages especially when we are developing a big system. To start with this application, open our file in the document root called “pagination”. Then, we are going to create a new folder called includes.

Social Networking Site: Adding a Delete control for Comment and Sub comment

Submitted by GeePee on
This tutorial, is a continuation of our previous topic called Social Networking Site: Adding a Sub-comment to a specific Post. But this time, I’m going to show you how to add a delete command of comment and sub comment. To start with this course, open our philsocial folder from the document root and open the home.php file. And inside the well class above all of the codes for comment and sub-comment well creates a function called “date_toText”.

PHP Pagination

Submitted by GeePee on
In this tutorial I’m going to show you how to create a pagination. The concept behind pagination, let’s say we have one million records in our database and we probably we don’t want to see that entire record in the our web browser at once. Instead we’re going to return a subset of results and the first page may consist 20 records on it.

Chat System - Admin Command Kick - Server Side

Submitted by GeePee on
Introduction: This tutorial is the nineteenth in my Java Network Programming using KryoNet series, or fourteenth in creating a chat client and server system, in which we are going to be continuing the previous tutorial. Previous: In the previous tutorial we added private message features to the client. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a list. Send incoming messages to everyone within the clien

Chat System - Admin Command Kick - Client Side

Submitted by GeePee on
Introduction: This tutorial is the eighteenth in my Java Network Programming using KryoNet series, or thirteenth in creating a chat client and server system, in which we are going to be giving clients a command to request actions from an admin. Previous: In the previous tutorial we added private message features to the client. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a list. Send incoming messages to