Ok, this is going to be a tutorial that will show you how to build the frontend of a PHP/MYSQL based chatbox that has a WYSIWYG built in.
First we need to set up the mySQL database:
We’re going to call this table chatmessages for this tutorial. It needs 5 fields:
ID – Bigint, primary , [...]
Archive for the 'how to' Category
Simple chatbox tutorial
AJAX Multi-Level Comments
Intro
Folder Structure
MySQL Table
Html And Css
main.css
index.php
AJAX And Javascript
Event Listeners For `Reply` Link
Event Listener For Comment Submitting
Generating Comments
Saving Comments And AJAX
Conclusion
In this tutorial we will create multi level comments. You must have seen comments on youtube and that they have levels depending on who replied to [...]
How To Detect Internet Explorer Version With PHP
Awhile ago I needed to detect the Internet Explorer version of the visitor from inside of my PHP script. Being lazy I just tried to Google for some existing code, but to my surprise there was none available! Well, I think it’s time to rectify that problem by publishing the code I ended up creating. [...]
How to Install MySQL Database Server on Windows XP
Go to your desktop and inside the folder you have initially created find file mysql-5.0.41.win32.zip. Extract the content of this file to the same folder on the desktop. Now go inside mysql-5.0.41-win32 folder and double click Setup.exe. Follow the steps:
Fig. 18 – Click next.
Fig. 19 – Select Custom and click next.
Fig. 20 – Click Change [...]
How to Install PHP on Windows XP
Installing PHP on Windows XP
Go to your desktop and in the folder you initially created find file called php-5.2.3-Win32.zip.
Extract the content of this file to C:\webserver\php. Pull out all of the files from the php-5.2.3-Win32 folder and place them directly in C:\webserver\php.
Now we need to add our C:\webserver\php folder to the path of the Environment [...]
how to Installing Apache on Windows XP
how to Installing Apache on Windows XP
This tutorial will show you how to install Apache 2.0.59, PHP 5.2.3 and MySQL 5.0.41 on machine running Windows XP.
To start with we will download all of the necessary applications which can be found at the following locations:
Apache: Apache download page
File to download: Win32 Binary (MSI Installer): apache_2.0.59-win32-x86-no_ssl.msi
PHP: PHP [...]
Simple PHP Hit Counter Script
Important
It is worth noting that this tutorial is paginated, and that the entire tutorial contains 4 pages. Just remember that the tutorial is not finished just after the first page!
PHP 4+ is required for this tutorial. PHP 5 is optional
This tutorial is for beginners with very limited knowledge of PHP. You will learn [...]
How to create a basic rating system
Creating a basic rating system
In this tutorial I will show you how to create a basic and simple to use rating system. To make the script more simple and database independent we will use simple files to store rating information.
The basics
We divide the task into the following steps:
Display a HTML form where a visitor [...]
How to speed up your website
How to speed up your website
Well here’s a subject I love. Near the king of all factors that is represented by the content, a website must be simple in navigation and structure, pleasant, functional and, most of all, fast. By following this article you will realize that a fast website will increase the user experience [...]
Facebook PHP Tutorial
Facebook PHP Tutorial
Facebook Is The New Black.
Everyone is talking about Facebook and their new Application Platform
And I have to admit I think it’s pretty cool too. So I decided to create an application that uses the Facebook Platform. I’m writing the application in PHP and I thought it might be useful for others to know [...]
