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.
Posts Tagged ‘open source’
Feb 27 2008
Var Vars
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 ?>
Feb 27 2008
Make all letters caps
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
Feb 27 2008
Validation
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 [...]
Feb 27 2008
Files Uploading, Validation
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 [...]
Feb 27 2008
Sticky Caps
DemoDownload 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 [...]
Feb 27 2008
PHP Array Pagination
DemoDownload 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 [...]
Feb 27 2008
Thumbnails Generator Class
DemoDownload 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 [...]