post.php and view.php files