PHP File: Counting Characters and Words in FileTag: file, character, word, count Category: PHP Basicpost: 14 Apr 2008 read: 1,344 PHP File Tips - Part 10: With little trick, you can count number of character or word in a file. Read file into string, then use strlen() or str_word_count(). Like this:
|
| | Give Your Opinion | Recommend |
|


