Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
At work

tomolimo

😀
At work
  • Raynet SAS
  • Grenoble
View GitHub Profile
View redis-stats.php
<?php
// CONFIG
$servers = array(
array('Local', '127.0.0.1', 6379),
);
// END CONFIG
$server = 0;
if (isset($_GET['s']) && intval($_GET['s']) < count($servers)) {
$server = intval($_GET['s']);