PHP Classes

File: exemplo.php

Recommend this page to a friend!
  Classes of Otavio Theiss   Generate meta tags   exemplo.php   Download  
File: exemplo.php
Role: Example script
Content type: text/plain
Description: Exemplo
Class: Generate meta tags
Generate header and footer tags of an HTML page
Author: By
Last change:
Date: 16 years ago
Size: 344 bytes
 

Contents

Class file image Download
<?
include_once "gen_metatag.class.php";

$r = new GEN_METATAG();
echo
$r->addDocType();
echo
$r->openHTML();
echo
$r->openHead();
echo
$r->addTitle("Titulo teste");
echo
$r->setMetaTag();
echo
$r->addCharSet();
echo
$r->closeHead();
echo
$r->openBody();
echo
"Page content here";
echo
$r->closeBody();
echo
$r->closeHTML();

?>