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 ‘PHP’
Mar 12 2008
WordPress TinyMCE Image Upload Plugin
DemoDownload After many hours looking and looking for a plugin for TinyMCE i finally found one that actually worked quite well and was what it said it is .. An actual image upload plugin for WordPress's TinyMCE ... ! Take a look here: http://www.soderlind.no/archives/2006/01/03/imagemanager-20/ Download here: http://www.soderlind.no/download/ImageManager2.41.zip I know someone will really appreciate this post [...]
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
Sorting Arrays
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);
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 [...]