PHP: How can I reference variables from an included file before it's been included?

How can I reference variables from an included file before it's been included? Or can I somehow include the file (so I can lead its variables later) before its HTML is literally inserted into the body tag? Or can I contain all of home's body content in one big variable that I can echo as well in the index?Here's what I'm trying to do:index.php \[code\]<html><head><title><?php echo $title; ?></title><meta name="description" content="<?php echo $description; ?>" /><meta name="keywords" content="<?php echo $keywords; ?>" /></head><body><?php include 'home.php'; ?></body></html>\[/code\]
home.php\[code\]<?php$title="home page";$description="this is the home page"; $keywords="home, awesome, yes";?> this is the home page content that gets inserted into the body!\[/code\]
 
Back
Top