Not exactly....
a) $HTTP_POST_VARS are out dated, use $_POST now; and
b) If you use comments to show things in REAL code, people will pick up what you're doing far faster than if you confuse them with fake code.
For example, you could so something like...
[php]
<?php
/* We'll start by showing the top of the page. We've already created the TOP of the page and saved in in a file called header.html (in the same directory as this file). We can use the include() function to 'include it' at the top of our page as follows: */
include('header.html');
// Now we will check, did the user find the secret page?
// We can do this using an IF block as follows:
if( $_GET['found_secret'] == 'yes' )
{
// Here we can do what we want for our 'secret page'.
// The user can get here by adding ?found_secret=yes to the
// end of the page's URL. This part of the code, the bits
// between the curly brackets, is only 'read' by the PHP engine
// if the above statement is true.
echo 'You found our secret
';
}
// Output footer...
include('footer.html');
?>
[/php]
This could form a thrid or fourth tutorial in PHP, introducing IF blocks.