persist($_POST['key']); } else { $redis->expire($_POST['key'], $_POST['ttl']); } header('Location: view.php?key='.urlencode($_POST['key'])); die; } $page['css'][] = 'frame'; $page['js'][] = 'frame'; require 'includes/header.inc.php'; ?>

Edit TTL

>

> (-1 to remove the TTL)