Making a Shoutbox with PHP and jQuery

323
February 21, 2017, at 03:09 AM
Making a Shoutbox with PHP and jQuery

In this tutorial, we are going to build a shout box with PHP and jQuery, which allows visitors of your website to leave short comments to one another. Shouts will be stored on the server as files, no database like MySQL will be required. We are going to use two PHP libraries to make things easier – Flywheel for storing the shouts as json files and RelativeTime for creating human readable relative time stamps.