Source of "playgroundTextSpaceLanding.php"
<?php
// File Name: playgroundTextSpaceLanding.php
// Author: R. T. Waysea
// Creation Date: October 20th, 2014
// Remove the "X-Powered-By" header.
header_remove( "X-Powered-By" );
// Check to see if there is an "pageInject" parameter in the request URL query
// string.
if( isset( $_GET['pageInject'] ) ) {
// There is an "pageInject" parameter, proceed to grab its value. The "$_GET[]"
// operation automatically performs a round of URL/URI-decoding.
$pageInject = $_GET['pageInject'];
} else {
// There is no "pageInject" parameter, use a blank value.
$pageInject = "";
}
// Return the response body with the "$pageInject" parameter value.
echo <<<_END
<!DOCTYPE html>
<html lang="en">
<head>
<title>Page</title>
<meta charset="UTF-8">
<meta name="author" content="R. T. Waysea">
<meta name="generator" content="R. T. Waysea's Twisted Imagination">
</head>
<body>
<h1>Text Space</h1>
<p>The value of the "pageInject" parameter is: $pageInject</p>
<p>Add a "pageInject" query string parameter to inject into the above text space.</p>
</body>
</html>
_END;
?>