Posts Tagged 'simple'

Simple chatbox tutorial

Posted by admin on March 22 2010 Add Comments

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 , [...]

Simple Ad Rotation Script

Posted by admin on December 11 2009 Add Comments

Overview
In this script (very easy script), we have 3 ads for rotation
first ad we want it to display 70%
second ad we want to display 20%
and the last one we want to display 10%
What to do
1. Random number 1-100
- if result = 1-70 (we have opportunity to display ad 1, 70%)
- if result = 71-90 (we [...]

Simple PHP Hit Counter Script

Posted by admin on December 11 2009 Add Comments

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 [...]

Simple YAML Config Reader

Posted by admin on December 11 2009 Add Comments

Simple YAML Config Reader

By: Chavo
This package can be used to read configuration settings from file YAML format.
It uses a separate class named SPYC, written by Chris Wanstrath, to parse YAML configuration files and returns an associative array with pairs of configuration options and the respective values.
The configuration class uses the singleton pattern, so a configuration [...]

Simple INI

Posted by admin on December 11 2009 Add Comments

Simple INI
By: Henrique Mayer
This is a simple class that can be used to read, modify and generate configuration files in the .INI format.
It reads .INI files using PHP parse_ini_file to store the configuration values in associative arrays.
The class provides functions to set and get specific values of each configuration option.
When the values are changed, the [...]

A simple ini parser

Posted by admin on December 11 2009 Add Comments

A simple ini parser
By:Enrico Reinsdorf
This class can be used to read and write configuration files in the .ini format.
It can pares an .ini file and store the configuration values in a multidimensional array. It can read a complete sections or a specific value of a given section.
The class can also set and get specific values [...]

Simple MSN Class

Posted by admin on December 11 2009 Add Comments

Simple MSN Class

By : hessian
This class is meant to connect to a MSN Messenger server, login as a given user and handle chat requests with other users.
The package comes with a separate class that acts as robot that interacts with other connected users.
The output and the comments in this class are written in Chinese.
Download :
http://www.ziddu.com/download/7324385/msn-2003-12-03.zip.html

Really Simple Content Cache

Posted by admin on December 10 2009 Add Comments

Really Simple Content Cache
By : Rob Searles
This class can be used to cache content in files.
It can check if a given cache file exists and it has not expired. In that case it returns the cached content stored in the cache file.
If the cache file does not exist or the cached content has expired, the [...]

Simple AJAX

Posted by admin on December 10 2009 Add Comments

Simple AJAX

Author : Er. Rochak Chauhan
This class can be used to execute server side actions without reloading the current page.
It uses XMLHttpRequest objects to send the what is known as AJAX requests and collects the responses that can be used to update parts of a page.
The AJAX requests can be associated to server side PHP [...]

AJAX driven simple chat

Posted by admin on December 10 2009 Add Comments

By: Ashraf Gheith
This class can be used to implement a simple Web based chat system that uses AJAX to update the chat dialog display area without reloading the whole page.
The class generates a page with a Web form to submit what each chat line that the users type.
The chat lines are sent to the server [...]