Hi,
this might seem as an odd question about PHP, but I'm simply asking it because I'm interested in the possibilities of PHP. Okay, here it comes: Is it possible to capture a complete parsed page in a variable. In other words: I want the output of the php parser to be the value of my variable $page.
Example:
snipppet of 'mypage.php?name=Michiel'
<HTML>
<HEAD>
<TITLE>
<?PHP
if (IsSet($name)) print ("Homepage of $name");
else print ("Homepage of anonymous");
?>
</TITLE>
etc. etc.
Now I would like, somehow that the value of my variable $page is gona be:
$page = "<HTML><HEAD><TITLE>Homepage of Michiel</TITLE> etc. etc."
I hope my question is clear enough
Thanx Michiel