adding post feature to index.php

I am adding a post feature to index.php to allow users to post
information like a message.