SetToLoki Posted June 29, 2009 Share Posted June 29, 2009 hi, I am trying to include a page in my index.php but the pages I am randomly including all have includes of their own. and that include breaks when doing this, though the pages should be availible outside the index page aswell as inside. what is the best wy to do this I thought changing the includes to use $_SERVER['DOCUMENT_ROOT'] should work but it didn't Quote Link to comment Share on other sites More sharing options...
jackpf Posted June 29, 2009 Share Posted June 29, 2009 Use absolute referencing like you said, using $_SERVER['DOCUMENT_ROOT']. What is your code and file structure? Quote Link to comment Share on other sites More sharing options...
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.