[thelist] Call html page with php

Mark Howells mark at mountain.ch
Wed Feb 20 03:03: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 used this, which worked in a login-restricted environment.

<?
If($loginOK){
 include("theContent.php");
}else{
 include("loginForm.php");
}
?>

Regards
Mark Howells
<http://www.mark.ac/evl>




More information about the thelist mailing list