Posted by drtebi on 03/25/06 23:51
Try stat:
http://php.net/stat
It gives you a bunch of information about the file.
Things like comments inside the file etc. are rather file specific. You
would need to write a function that checks what type of file it is and
then acts accordingly--there is probably some functions out there
already, try http://freshmeat.net/ for example, there you will also
find a lot of file managers written in PHP which may be useful for you.
DrTebi
Navigation:
[Reply to this message]
|