Changed link to post.php to absolute path.