summaryrefslogtreecommitdiff
path: root/getheader.php
blob: a27400eedd11f723f115eb31987f516f8aff58c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

require 'function.php';

if($_SERVER['REQUEST_METHOD'] != "POST"){
	header($_SERVER['SERVER_PROTCOL'] . " 301 Moved");
	header("Location: /");
	exit;
}

$header = getHeader($_POST['url']);