Feed Rss



Mar 24 2008

Simple Smarty Pagination

category: PHP,Tutorials author:

With the combined effort of my PHP Array Pagination script and this tutorial you will be able to pagination results (database & non database driven results) and intergrate it easily with the smarty template engine. So, to start download the PHP Pagination script and then put it into a directory within your smarty setup. During [...]

tag: ,


Feb 28 2008

Tag Cloud v2 (archived)

category: PHP,Tutorials author:

Tag Cloud Script (Latest Version) can be found here, with more customizable features. Please check out the demo page for examples on how to use the new functions available in this version. Some of the new features included in the new tag cloud script are: Link and URL Assignment Additional attribute assignment e.g. title etc [...]

tag: , , , ,


Feb 27 2008

How to write a tag cloud in PHP – Tag cloud tutorial

category: PHP,Tutorials author:

Learn how to write a tag cloud script to generate a tag cloud based on repetition of words. This tutorial will guide you through step by step and a download is available.

tag: , , , ,


Feb 27 2008

Sorting Arrays

category: PHP,Tutorials author:

You can sort an array in many different ways using PHP using many different functions, here are a few. sort($array); asort($array); ksort($array); These three different sorting functions all can be sorted in ascending order. The reverse functions are: rsort($array); arsort($array); krsort($array);

tag: , ,


Feb 27 2008

Validation

category: PHP,Tutorials author:

n this day and age and taking into consideration the evolution of the web, allot of things are overlooked when programming and one of the main subjects I see commonly being 223overlooked" is validation. Validation isn't that difficult you just need to question the integrity of every string trying to be parsed, the most common [...]

tag: , ,


Feb 27 2008

Files Uploading, Validation

category: PHP,Tutorials author:

Uploading file is one of the most convenient things to do with PHP. This tutorial will cover how to upload files safely and how to ensure no files are replaced in the process. The first step would be creating your form, this will be a basic HTML form with the attribute encrypt added to it, [...]

tag: , ,


Feb 27 2008

Sticky Caps

category: PHP,Tutorials author:

Ever bothered thinking about how to make your site stand out a little more? I was think about this a while back and what came to mind was sTicKy cApS, i think that's the terminology, well anyway here is the code to create "sticky caps". First of all we need a string to apply this [...]

tag: , ,


Feb 27 2008

PHP Array Pagination

category: PHP,Tutorials author:

This is a very easy to install pagination class that takes a PHP array and parses it into an array. To install into one of your personal array's start by including the main file and creating the pagination object. <?php include 'pagination.class.php'; $pagination = new pagination; ?> Once this is done, simply do the following [...]

tag: , ,


Feb 27 2008

Thumbnails Generator Class

category: PHP,Tutorials author:

Requires: PHP w/ GD Library Extension. Generating thumbnails couldn't be easier. Download the file on this page and test it out. Simply include the following PHP into the top part of the page, this processes the form and calls the external class and loads it as an object. The following can be produced, all dimensions [...]

tag: , ,


Feb 27 2008

Using Arrays

category: PHP,Tutorials author:

Arrays are one of the most used properties in php, arrays are like a container they are very simple they can can be indentified by a key or a value and the value can also be an array and that's called a multi-dimentional array. Creating an array: <? $myArray = array("Value1", "Value2"); ?> By default [...]

tag: , ,