</html>
HTM
);
-echo "saved as " . $file . "\n";
+//echo "saved as " . $file . "\n";
//hub-notification
$params = array(
list($http, $code, $rest) = explode(' ', $http_response_header[0]);
if (intval($code / 100) === 2) {
echo "notified hub\n";
+ header('Location: /');
exit();
}
<title>PubSubHubbub tester</title>
</head>
<body class="h-feed">
- <iframe src="" id="addview" name="addview" style="position: absolute; right: 0.5ex; width: 60ex; height: 10ex; border: 1px solid grey"></iframe>
<p>
- <a href="add-article.php" target="addview">create new article</a>
+ <a href="add-article.php">create new article</a>
</p>
<h1>Articles</h1>
<?php foreach ($articles as $article) { ?>