PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan  >  Tag Cloud Generator  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example.php
Class: Tag Cloud Generator
Generate tag cloud from lists of links
Author: By
Last change: version 2

Now this version also enables you to extract tags from a paragraph/text.
Date: 9 years ago
Size: 1,387 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
    <title>TagCloud Generator:: DMW Technologies Pvt. Ltd.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Tag Cloud Genrator, DMW Technologies" />
    <meta name="description" content="Tag Cloud Generator" />
    <meta name="author" content="DMW Technologies Pvt. Ltd." />
    <meta name="ROBOTS" content="ALL" />
    <style type="text/css">
        a:hover { background-color:#EE918E;}
="What do you have when a lawyer is buried up to his neck in sand? enough sand.";
$sampleArray=array("Rochak Chauhan,,4",
"DMW Validator,,6",
"PHP Classes,,9"

$tagCloudGenerator= new TagCloudGenerator();

//echo $tagCloudGenerator->generateTagCloudFromString("Rochak Chauhan","",3);
//echo $tagCloudGenerator->generateTagCloudFromArray($sampleArray);
//echo $tagCloudGenerator->generateTagCloudFromCsv('sample.csv');
echo $tagCloudGenerator->generateTagCloudFromText($sampleString);