<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0">
<!-- Name of the Module -->
<name>Simple Date - Module</name>
<!-- Name of the Author -->
<author>Sathish Kumar(Technicalsathish)</author>
<!-- Version Date of the Module -->
<creationDate>2009-12-10</creationDate>
<!-- Copyright information -->
<copyright>All rights reserved by Technicalsathish 2009.</copyright>
<!-- License Information -->
<license>GPL 2.0</license>
<!-- Author's email address -->
<authorEmail>technicalsathish@gmail.com</authorEmail>
<!-- Author's website -->
<authorUrl>www.acmewebsoft.com</authorUrl>
<!-- Module version number -->
<version>1.0.0</version>
<!-- Description of what the module does -->
<description>This is the simple module for displaying current Date</description>
<!-- Listing of all files that should be installed for the module to function -->
<files>
<!-- The "module" attribute signifies that this is the main controller file -->
<filename module="mod_date">mod_date.php</filename>
<filename>index.html</filename>
</files>
<!-- Optional parameters -->
<params />
</install>
<?php
//don't allow other scripts to grab and execute our file
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
?>
<p>
<?php
$today = date("D-M-Y");
PRINT "$today";
?>
</p>
<html><body bgcolor="#FFFFFF"></body></html>
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (1)
Commented:
Thanks a lot.....