CREDITS

This class is made by unreal4u (Camilo Sperberg). The original idea was to just output the doctype section + a nice little method to output flash content, but it grew a little to do just about everything you can do with the most common options in the HTML markup language.

ABOUT THIS CLASS

With this class, you can:

USAGE

This class was made with simplicity and speed in mind. However, some tags are more complicated to use than others. Please refer to usage.php for options and usage.

PENDING

config.php:

define('HOME','http://192.168.0.8/~classes/'); // The webserver's path to your app. Very important!
define('ROUT','/home/classes/public_html/');   // The absolute path to your app.
define('LOCALE','es_CL');  // The document's locale.
define('CHARSET','UTF-8'); // The charset to use.
define('IM_DIR','im/');    // The images dir.
define('JS_DIR','js/');    // The javascript's dir.

WHAT CAN THIS PACKAGE DO FOR ME?

This package can make your life a little easier because you don't have to worry about putting together a perfectly valid W3C document header all by yourself. You can even embed flash content that works with every browser I have tested (IE6, IE7, IE8, Firefox, Opera, Chrome and Safari) and is perfectly valid for the W3C Consortium. You can also add scripts (files or directly embedded), CSS, shortcut icon, meta tags, document title, head closure and body aperture, and many many options more:

When the object destroys itself, it can detect whether the body and html markup tags are already closed and if they aren't, the class will print the closure tags for itself. One more thing not to worry about.

WHAT CAN'T THIS PACKAGE DO FOR ME?

VERSION HISTORY: