Feed Rss



Feb 20 2011

PHP Tag cloud

category: PHP author:

Generate your own tag cloud with this easy to use PHP class. A tag cloud is typically used to describe the content of web sites. Many customisable features.

tag: , , , ,


Mar 24 2008

Simple Smarty Pagination

category: PHP,Tutorials author:

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

tag: ,


Mar 24 2008

Simple Modular Arithmetic with Smarty Template Engine

category: PHP,Snippets author:

DemoDownload Something i take for granted in PHP is the use of Modular Arithmetic when display results in a grid like format. Usually in php, i would do something like this to display three items per row if ($count % 3 == 0) { // Add Break / Clear here } So i assumed something [...]

tag: ,


Feb 28 2008

Tag Cloud v2 (archived)

category: PHP,Tutorials author:

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

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

Var Vars

category: PHP,Snippets author:

DemoDownload Var vars can be very handy, you can use them to associate a name to a variable. <? $my_soon_to_be_variable = 'wow_my_variable'; $$my_soon_to_be_variable = 'Now it's a VAR VAR'; // It's a var var echo $wow_my_variable; // That's right, it's a variable ?>

tag: , ,


Feb 27 2008

Sorting Arrays

category: PHP,Tutorials author:

DemoDownload 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

Make all letters caps

category: PHP,Snippets author:

DemoDownload A nice little way of making all letters into capitals is to use PHP's inbuilt function strtoupper, like so. echo strtoupper('Hi, i am going to be all in caps in just one mo'); Will print ... HI, I AM GOING TO BE ALL IN CAPS IN JUST ONE MO

tag: , ,


Feb 27 2008

Validation

category: PHP,Tutorials author:

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

tag: , ,


Feb 27 2008

Files Uploading, Validation

category: PHP,Tutorials author:

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

tag: , ,