[thelist] Call html page with php

Nick Wilson nick at explodingnet.com
Tue Feb 19 15:48:00 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


* and then Melvin Isken declared....
> Hi out there!
> I got a stupid problem and I can find no answer:
> I need a php-function which calls a html-page to appear in the same
> frame like this:
> if(password == ok)
> {
> call_page(test.htm, "oneframe");
> }
> is there another possibility than using the header(location...)-
> command?

I think you could read the page into a var and print it to the page or
perhaps keep the page in a function and call the function like

<?
function page() {
?>
<html>
    <head></head>
    <body>
    </body>
</html>
<?
}
- --
- -----------------------------------------------------------
 www.explodingnet.com   |    Projects, Forums and
                        +    Articles for website owners
- -- Nick Wilson --      |    and designers.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8csiRHpvrrTa6L5oRAu3qAJ4srP0/KmpPl0Tz4b7PmRgQBLNp3gCffOI9
HqrqYkxLffB37CCVveq+g+U=
=aetv
-----END PGP SIGNATURE-----



More information about the thelist mailing list