stevevan Posted March 20, 2005 Posted March 20, 2005 I established a subdomain. I have an index.php created in the subdomain that contains include statements. When I bring up subdomain.maindomain.com/index.php on my web browser and view the source code, the includes are not there. There's something I'm obviously missing, but just cant see it! Anyone have an idea? (It's not a big deal...just curious!) Quote
btrfld Posted March 20, 2005 Posted March 20, 2005 Hi Steve. Are you using paths to the included files based on DOCUMENT_ROOT? With a subdomain that may limit your options. As far as I know, PHP includes will take an absolute path, like /home/. . ./public_html/. . ., and that should handle the issue. Quote
stevevan Posted March 20, 2005 Author Posted March 20, 2005 Got it to work. (Amazing what walking away and clearing your head will do! ) It was a matter of cleaning out cache and putting the proper path in. Now I just have to figure out why the graphic isn't showing, but I know that's path related to. Thanks for the tip btrfld! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.