|
There are many different PHP functions that can be either be displayed or used for further
processes. Here are just a few of them:-
- fileatime
- $time = fileatime($filename);
Returns the last time filename was accessed.
filemtime
- $time = filemtime($filename);
Returns the last time filename was modified.
filesize
- $size = filesize($filename);
Returns the size of filename in bytes.
getlastmod
- $time = getlastmod();
Returns the time that the page was last modified.
gettoday
- $hits = gettoday();
Returns the number of hits the page has received since midnight of the current day.
phpversion
- $version = phpversion();
Returns the version of PHP that is currently running.
phpinfo
- phpinfo();
Prints a long page containing information about system paths and modules installed.
Further information
If all this has whetted your appetite for information on PHP, the best place to go is PHP.Net where there is enough documentation to keep you occupied for
hours.
|