Results 1 to 2 of 2

Thread: Page without header & footer

  1. #1
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Page without header & footer

    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

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •