root/tags/RackTables-0.15.1/process.php

Revision 1250, 415 bytes (checked in by pilot, 1 year ago)

+ good-bye, short PHP tags!

Line 
1 <?php
2
3 require 'inc/init.php';
4 authorize();
5
6 $op = (isset ($_REQUEST['op'])) ? $_REQUEST['op'] : '';
7
8 if (!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]();
16 header ("Location: " . $location);
17
18 ?>
19
Note: See TracBrowser for help on using the browser.