[thelist] Call html page with php
Bill Haenel
bill at webmarketingworx.com
Tue Feb 19 15:40:01 CST 2002
> 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've done this in a pinch:
if($password == ok) {
echo "<script language=\"JavaScript\" type=\"text/javascript\">
window.location.href = 'test.htm';
</script>";
}
There may be a more acceptable method, but it works.
BH
More information about the thelist
mailing list