PHP Classes

File: demoCommon.php

Recommend this page to a friend!
  Classes of Mundo Genesys Development   PHP Creative Commons Logo   demoCommon.php   Download  
File: demoCommon.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Creative Commons Logo
Display a logo link for a Creative Commons License
Author: By
Last change:
Date: 3 years ago
Size: 1,050 bytes
 

Contents

Class file image Download
<?php


ini_set
('display_errors', true);
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING);
include_once(
'Classcommon.php');

$license = new CCLicense(1,1,1);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(1,1,2);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(1,2,1);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(1,2,2);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(2,1,1);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(2,1,2);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(2,2,1);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(2,2,2);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(3,1,1);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(3,1,2);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(3,2,1);
echo
$license->logo;
echo
$license->url;
$license = new CCLicense(3,2,2);
echo
$license->logo;
echo
$license->url;
?>