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, i would then like the script to read it
an example, http://www.thedomainname.com is stored in the folder thefoldername, and has a forum.php file, in it is:
Code: Select all
<?php
$domain="www.thedomainname.com";
?>Code: Select all
http://www.thedomainname.com is stored in /home/monotoko/public_html/thefoldername