Hi All,
I'm developing a website which incorporates a header section at the top,
side areas and a central area. If I was developing the site with straight
HTML, I'd simply use FRAMES. However, by using PHP I thought I'd be able to
get around this as I use a single PHP to decide what information should be
present in each area of the page and render it appropriately. However, I
also need to incorporate 3rd party HTML files into the centre section/area
of my page. As these files include the full HTML page contents ie. with
<BODY> and <HEAD> tags I'm wondering how best to do this.
As far as I can see, the only way I can do this is to incorporate frames
into my PHP code. Without altering the contents of the 3rd party html files,
is there any other way of doing this?.
If I do have to have frames, what is the best method for integrating them
with the PHP code?. Would you have seprate PHP scripts in each frame, or
would you have a single script that is capable of generating each frame
depending on variables past to it (and extracted using $_GET{}?).
Any comments gratefully recieved.
Ta,
Dave
I'm developing a website which incorporates a header section at the top,
side areas and a central area. If I was developing the site with straight
HTML, I'd simply use FRAMES. However, by using PHP I thought I'd be able to
get around this as I use a single PHP to decide what information should be
present in each area of the page and render it appropriately. However, I
also need to incorporate 3rd party HTML files into the centre section/area
of my page. As these files include the full HTML page contents ie. with
<BODY> and <HEAD> tags I'm wondering how best to do this.
As far as I can see, the only way I can do this is to incorporate frames
into my PHP code. Without altering the contents of the 3rd party html files,
is there any other way of doing this?.
If I do have to have frames, what is the best method for integrating them
with the PHP code?. Would you have seprate PHP scripts in each frame, or
would you have a single script that is capable of generating each frame
depending on variables past to it (and extracted using $_GET{}?).
Any comments gratefully recieved.
Ta,
Dave
Comment