Blankscreen Posted August 9, 2006 Report Share Posted August 9, 2006 Another website wants to include a page from my website using "php include", but whatever we try, we cannot get the included page to format correctly. Is there any way to protect the format of the included page from the formatting instructions in the code of the host page? If we put the included page right at the bottom of the host page, surely there has to be some way of stopping it from being reformatted by the host page? Quote Link to comment Share on other sites More sharing options...
Lokeh Posted August 26, 2006 Report Share Posted August 26, 2006 You could try using an iframe of some sort (although most web designers would rather shoot themselves than use iframes). Otherwise, I can't think of a way to avoid the problem you're talking about. Because with include() it's practically the equivalent of copy + pasting the code into the document (at least that's my understanding of it). Quote Link to comment Share on other sites More sharing options...
~Root~ Posted October 2, 2006 Report Share Posted October 2, 2006 is your host blocking th use of includes?if so set up a smarty interpreter script. would just re-formatt the page just after the host formats it.just a pointer, iframes would work too but.....personally i think there a web page nightmare. 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.