Thanks scjessey! Okay hang on, so I use:
and I don't need to replace anything? (except for the end php part). But do I still need to add a header and footer file in each of the subdomain files? because I'm testing the gallery/index.php and it doesn't seem to work, without having to place a header and footer file.
Thanks for the tip on the folder bit