Last Modified
An easy and efficient way to write the date a file was last modified.
We call the function filemtime() that returns an integer (the number of seconds elapsed from Jan 1st, 1970 00:00 GMT)
Anyway, to make this integer viewable by human beings, we just format it using date() function.
<?
|
User's Screen resolution detection
Overview
This script allows the detection of the visitor screen resolution.
There's no PHP function that can detect the screen resolution, so the trick is to use a javascript code that reloads the page and that will capture the width and the height of the screen.
Script to be put on the top of the page
<?
|
Easy ain't it ? Carpe diem...






