<?php if ($_SERVER['REQUEST_METHOD'] == 'POST') return; header ('HTTP/1.1 500 Internal Server Error'); exit (); ?>