HomeResourcesTutorialsMediaDesignsFun StuffTunesSite
latest news

17 Feb 2008:I have 1 new affiliate: Vanessa of Flying High and 1 new link exchange: Ai of Deadly Nightshade
12 Feb 2008: Added a new PHP tutorial.
07 Feb 2008: There are several new songs on the 'TUNES' playlist and the MP3 Downloads are back up again!
06 Feb 2008: Added a New Link Exchange. Be sure to check out Hawaiian Paradise.
05 Feb 2008: There are now 6 new manga series for download: Aishiteruze Baby, Beauty is the Beast, Ichiban!!, Random Walk, Parfait Tic, and Wallflower.
04 Feb 2008: Added a New Link Exchange. Be sure to check out Animara.org.

What's New?

Tutorial: Display "Last Modified" Date

Download: 6 Manga Volumes

Tutorial: Advertise your web site

Tutorial: Pixelate Images

Affiliates


Hosts


Rotations






Users Online
How do I show the date my page was last modified?
If you are familiar with the tutorials found at NQD, then you are already aware that located at the bottom of each tutorial is the date showing the last time the page was modified. Remarkably this is done with a little snippet of php. Everytime you open the page to edit it, it will then activate the php code, document the date and display it wherever the code is embedded. This is all done simultaneously without you having to lift a finger.


Requirements:
1. Site supports PHP
What we want to accomplish
Last Modified: 02/11/08.
Step #1: Convert Your Site To PHP
First and Foremost, you MUST make sure that every page that contains the Last Mod code is a PHP page. To turn an HTML page into a PHP page, just rename the page so that the extension is .php, instead of .html.
Step #2: Code for Last Mod


<?php
// output: 'Last Modified: mm/dd/yy.'
echo "Last Modified: " . date ("m/d/y.", getlastmod());
?>


Did I not say this was going to be easy?


Tutorial by: Nika
Last Modified: 02/11/08.



Support