<?php if(!isset($_POST['story_id'])){ header('HTTP/1.1 404 Not Found'); exit; }; $story_id=(int)$_POST['story_id'];