Skip to content

Instantly share code, notes, and snippets.

@larmedina75
larmedina75 / server-logs-viewer.php
Last active April 4, 2018 07:50 — forked from pixeline/server-logs-viewer.php
This script presents the latest lines of your LAMP server log files, emulating the tail() function. Layout is nice and responsive. I chose to include inline the CSS and JS to have the ease-of-use of a single, "drop-in", file. If your site is hosted on a Gandi Simplehosting server, it should just work out of the box.
<?php
/*
@name Server Logs Viewer
@description View the latest lines of your Nginx server logs in your browser.
@author Luis Medina (larmedina@outlook.com)
@date 17.06.2016
Based on original script by Alexandre Plennevaux (pixeline.be)
*/