r1106 importing RackTables trunk
[racktables] / process.php
CommitLineData
e673ee24
DO
1<?
2
3require 'inc/init.php';
4authorize();
5
6$op = (isset ($_REQUEST['op'])) ? $_REQUEST['op'] : '';
7
8if (!isset ($ophandler[$pageno][$tabno][$op]))
9{
10 showError ("Invalid request in operation broker: page '${pageno}', tab '${tabno}', op '${op}'");
11 die();
12}
13
14// We have a chance to handle an error before starting HTTP header.
15$location = $ophandler[$pageno][$tabno][$op]();
16header ("Location: " . $location);
17
18?>