Posted by StevePBurgess on 12/11/06 11:51
Ben Holness wrote:
> You could read the file in line by line and count as you go using fopen()
> and fread() or fgets() .. See the PHP pages for how to use them.
>
> Alternatively you could make a system call with "grep 'GET /feed7.xml' | wc -l"
>
> Ben
Thanks. I used the grep command.
Thanks for all your help.
Steve
Navigation:
[Reply to this message]
|