Skip to content

Instantly share code, notes, and snippets.

View ninthwalker's full-sized avatar

El Brento ninthwalker

  • USA
View GitHub Profile
@ninthwalker
ninthwalker / server-logs-viewer.php
Created April 4, 2018 07:50 — forked from larmedina75/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)
*/