wanaka
|
| Posted: 11/19/2002, 11:43 PM |
|
I have a directory with lot of gif all start with graph.gif graph001.gif graph002.gif, graph003.gif...
I would like to return total number of files that match the dir graph*.gif command.
Is there any function in php to count total number of file
|
|
|
 |
xbill
|
| Posted: 11/20/2002, 7:49 AM |
|
In php - the platform independent directory calls
include:
dir(), opendir(), readdir()
There are some examples of how to use these functions
on the php site- http://www.php.net
The main thing to watch out for is that the
directory calls are server side- ie your PHP
code runs on the directory on the server not
your local directory.
To include them in CCS- use custom events and
set a label with the result count of the custom
code.
-bill
|
|
|
 |
|