A count of forums
Posted: Wed Aug 12, 2009 12:10 pm
Hello fellow programmers 
I have a little bit of a problem in that i cannot figure out how to create this function. I have a hosting account with over 1000 domains attatched to it
one of them is a forum hosting company i own, which takes up about 200 of those domains with forums.
this script is going to be stored in:
/home/monotoko/public_html/danzaforums.com
what i want it to do is go into: /home/monotoko/public_html
then go into every folder and look for forum.txt
if it has forum.txt, it is a forum, if it doesnt its not.
i just need it to tell me how many forums the server has by counting up the amount of forum.txt files, is there a way to do this?
Thank you
~Daniel
I have a little bit of a problem in that i cannot figure out how to create this function. I have a hosting account with over 1000 domains attatched to it
one of them is a forum hosting company i own, which takes up about 200 of those domains with forums.
this script is going to be stored in:
/home/monotoko/public_html/danzaforums.com
what i want it to do is go into: /home/monotoko/public_html
then go into every folder and look for forum.txt
if it has forum.txt, it is a forum, if it doesnt its not.
i just need it to tell me how many forums the server has by counting up the amount of forum.txt files, is there a way to do this?
Thank you
~Daniel