Page 1 of 1

Help an idiot include external web content with php

Posted: Tue Apr 13, 2004 10:02 pm
by janderson
Hi all.
This forum looks great....

Anyway, I'm a self-admitted moron. What I need to do is include external content with php (or whatever would be easiest) and have it show up with my header and footer. Additionally, I need the links to work and anything it pulls up show up again with my header footer. Kind of like what good ol' hotmail does when you open an external link... you're still in hotmail.

Anyway, i have a php include function pulling the first page in just fine. Unfortunately all of the links are broken (since they are relative, they now reference my domain) and even if I could follow a link, I think I would loose my header/footer.

Any ideas that a monkey could implement?

Thanks.
Jeff

Posted: Tue Apr 13, 2004 11:34 pm
by feyd

Code: Select all

<base href="url" />
or frames.

Posted: Wed Apr 14, 2004 1:26 am
by RadixDev
[php_man]include()[/php_man] or [php_man]require()[/php_man] functions?