<html>
<head>
<title>Mega Mind Stories</title>
<link rel="shortcut icon" href="http://mega-mind.info/img/cropped-astoundify_logo-32x32.png" type="image/png">
<meta property="og:image" content="http://mega-mind.info/stories/img/story.jpg" />
<meta property="description" content="Story" />
<script type='text/javascript' src='http://code.jquery.com/jquery-1.8.2.js'></script>
</head>
<body>
<br><br>
<center>
<p id="story">Some Error!</p>
</center>
<script>
var name = '<?php echo $_GET['name']; ?>';
var story = '<?php echo $_GET['story']; ?>';
document.title = 'This is '+ name +' story. Click to see your own story. ';
$('meta[property=description]').attr('content', story);
document.getElementById('story').innerHTML = story;
</script>
</body>
</html>
<link rel="shortcut icon" href="https://cdn0.iconfinder.com/data/icons/star-wars/512/death_star-128.png" type="image/png">
<meta property="og:image" content="http://mega-mind.info/stories/img/story.jpg" />
var name = '<?php echo $_GET['name']; ?>';
var gender = '<?php echo $_GET['gender']; ?>';
var story = '<?php echo $_GET['story']; ?>';
<html>
-тэг пропущен<?=$_GET['name']?>
и <?=$_GET['story']?>
куда нужно...<!DOCTYPE html>
<html>
<head>
<title><?php if(!empty($_GET['name'])): echo 'This is '.$_GET['name'].' story. Click to see your own story.'; else: echo 'Mega Mind Stories'; endif;</title>
<link rel="shortcut icon" href="https://cdn0.iconfinder.com/data/icons/star-wars/512/death_star-128.png" type="image/png">
<meta property="og:image" content="http://mega-mind.info/stories/img/story.jpg" />
<meta property="og:description" content="Your description" />
</head>
<body>
<br><br>
<center>
<p id="story">
<?php
if(!empty($_GET['story'])):
echo $_GET['story']
else:
?>
Some Error!
<?php
endif;
?>
</p>
</center>
</body>
</html>