Log in

View Full Version : Page without header & footer



Yasir
05-30-2007, 03:08 PM
hi
l'm looking a script so i can load a page from an other site without it herder & footer i want to use my header & footer

djr33
05-30-2007, 06:08 PM
Unless that other site uses frames, you'd actually have to chop out bits of its html source code. That's complex.
Additionally, this likely violates their TOS.

You could do this with Ajax, perhaps, though it would be hard, but the best way would be to use PHP, set the script to remove the start and end of the page (as defined by some marker in the source code; can't say what without seeing the page), then displaying that within your page.

This isn't a very good idea, and you should consider other possible solutions, unless this is a very special case.