PHP Wysardry
PHP

Using PHP functions to create dynamic pages.



Home / PHP / Functions

Back | Next

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.

Site Menu

Bravenet

Section Menu


Copyright © 2000-2003 Wysardry

Most recently updated on 11 May, 2003

Home / PHP / Functions

Back | Next


Please feel free to contact us with any comments or suggestions
PHP
PHP Wysardry

This site is hosted by Spaceports