fix xss vulnerability on PHP_SELF
authorioguix <ioguix>
Mon, 28 May 2007 17:30:32 +0000 (17:30 +0000)
committerioguix <ioguix>
Mon, 28 May 2007 17:30:32 +0000 (17:30 +0000)
35 files changed:
aggregates.php
all_db.php
casts.php
colproperties.php
constraints.php
conversions.php
database.php
display.php
domains.php
functions.php
groups.php
indexes.php
info.php
languages.php
libraries/lib.inc.php
login.php
operators.php
plugin_slony.php
privileges.php
reports.php
roles.php
rules.php
schemas.php
sequences.php
servers.php
sql.php
sqledit.php
tables.php
tablespaces.php
tblproperties.php
triggers.php
types.php
users.php
viewproperties.php
views.php

index 095101058d9c488d08dcc6c3c92404e1137e5935..5a4202dde100ea1b601c46e59f040a6cabda340c 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage aggregates in a database
         *
-        * $Id: aggregates.php,v 1.20 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: aggregates.php,v 1.21 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Actually creates the new aggregate in the database
index a2a3fb70bb13932253a33f0a179a113aa3e2d727..f4597e5128d778af6988d1f5bdee5d34d00b023e 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage databases within a server
         *
-        * $Id: all_db.php,v 1.52 2007/05/16 17:03:51 ioguix Exp $
+        * $Id: all_db.php,v 1.53 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Display a form for alter and perform actual alter
index 410b4ffc4882ccfa612f85c25a7ab0dd69b32a60..0b419ae9a546fd6bae418141b518a92994c9836a 100644 (file)
--- a/casts.php
+++ b/casts.php
@@ -3,7 +3,7 @@
        /**
         * Manage casts in a database
         *
-        * $Id: casts.php,v 1.12 2005/11/25 08:49:08 jollytoad Exp $
+        * $Id: casts.php,v 1.13 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show default list of casts in the database
index 06b5d12125df2db474513f548dd290e324283cc5..e51356fa13ee3455a44f1aa9e1e20f0c35158d0a 100644 (file)
@@ -16,7 +16,6 @@
                $tableName =& $_REQUEST['view'];
        else 
                die("No table provided!");
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Displays a screen where they can alter a column
index 5eb9ea7134a3254df069dec01ba93995b94c5e65..c9cb436b9e869a496b24a144522d8ef474871726 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * List constraints on a table
         *
-        * $Id: constraints.php,v 1.46 2007/05/02 16:12:06 ioguix Exp $
+        * $Id: constraints.php,v 1.47 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        include_once('./classes/class.select.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Confirm and then actually add a FOREIGN KEY constraint
index 2c2e255ff116f5934dd0223435f1a4700e629c49..7c22dd2748afdb5143c5376d077b2ef57fb03161 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage conversions in a database
         *
-        * $Id: conversions.php,v 1.12 2005/11/25 08:49:08 jollytoad Exp $
+        * $Id: conversions.php,v 1.13 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show default list of conversions in the database
index 5625526e283d2f18bd8bde5dcaff43ca3210f23f..db5607ba245041a251665e917e4fad6d73ba9920 100755 (executable)
@@ -3,7 +3,7 @@
        /**
         * Manage schemas within a database
         *
-        * $Id: database.php,v 1.96 2007/04/24 15:31:29 soranzo Exp $
+        * $Id: database.php,v 1.97 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        function _highlight($string, $term) {
                return str_replace($term, "<b>{$term}</b>", $string);
index 47ebbc7b8e927e3e086697e942edcf78710065e1..a793d752e2f22ca4b2e0d0efbd8d1ff7425ef52e 100644 (file)
@@ -9,7 +9,7 @@
         * @param $return_desc The return link name
         * @param $page The current page
         *
-        * $Id: display.php,v 1.61 2007/04/22 00:41:58 mr-russ Exp $
+        * $Id: display.php,v 1.62 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Prevent timeouts on large exports (non-safe mode only)
@@ -21,7 +21,6 @@
        global $conf, $lang;
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show confirmation of edit and perform actual update
index 5bd881961cee9305a90b6d46dccbf0177e4d428f..45fc06f0720755be2989838b9d424cb0111d6747 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage domains in a database
         *
-        * $Id: domains.php,v 1.28 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: domains.php,v 1.29 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
        
        /** 
         * Function to save after altering a domain
index 0e1017f7eb4b47440ea0c6dce6c71100bae94b3b..67f5334ae16d70bffc52d9abc9000fbe6212b53f 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage functions in a database
         *
-        * $Id: functions.php,v 1.63 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: functions.php,v 1.64 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
        
        /** 
         * Function to save after editing a function
index 27f7cf04fb14bf3defbe9d710d2dcb9ff6fd5db9..2daeea6c32f52ba8ef00f791e83921ac8f9a1bf8 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage groups in a database cluster
         *
-        * $Id: groups.php,v 1.23 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: groups.php,v 1.24 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Add user to a group
index 4de43c6800d4b48a83ac1288b7d05f0868d85c45..d17496cb2cc269d0d666e39e162249909d49c5d9 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * List indexes on a table
         *
-        * $Id: indexes.php,v 1.40 2007/05/02 16:12:07 ioguix Exp $
+        * $Id: indexes.php,v 1.41 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        include_once('./classes/class.select.php');
                
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show confirmation of cluster index and perform actual cluster
index d776d782d14ccd67413d272fe124869dd6df3796..cc992b43921c43356752039da4eb139c9a7d855c 100644 (file)
--- a/info.php
+++ b/info.php
@@ -3,14 +3,13 @@
        /**
         * List extra information on a table
         *
-        * $Id: info.php,v 1.13 2007/01/26 17:55:42 soranzo Exp $
+        * $Id: info.php,v 1.14 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * List all the information on the table
index d692a02f7e48557662ae2db2fe66fe8287b45d75..d5322d1856ab1d23984e3d772f93212d17754c5b 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage languages in a database
         *
-        * $Id: languages.php,v 1.10 2005/11/25 08:49:08 jollytoad Exp $
+        * $Id: languages.php,v 1.11 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show default list of languages in the database
index 01e32a0728eee71221e239110e8e379b04d7885e..8ee8bcbe01fa2d20124e6337cb75e84ad77cfdb2 100644 (file)
@@ -3,8 +3,11 @@
        /**
         * Function library read in upon startup
         *
-        * $Id: lib.inc.php,v 1.113 2007/04/18 14:06:14 mr-russ Exp $
+        * $Id: lib.inc.php,v 1.114 2007/05/28 17:30:32 ioguix Exp $
         */
+
+       $PHP_SELF = htmlentities($_SERVER['PHP_SELF']);
+
        include_once('./libraries/decorator.inc.php');
        include_once('./lang/translations.php');
        
index 0a2730fde3bf39ace3e22b9e12ebee080e7a20dd..2bb1faaceee12619d334791015f3340f14edbfb7 100755 (executable)
--- a/login.php
+++ b/login.php
@@ -3,14 +3,16 @@
        /**
         * Login screen
         *
-        * $Id: login.php,v 1.34 2007/04/24 14:49:00 soranzo Exp $
+        * $Id: login.php,v 1.35 2007/05/28 17:30:32 ioguix Exp $
         */
        global $conf;
        
        // This needs to be an include once to prevent lib.inc.php infinite recursive includes.
        // Check to see if the configuration file exists, if not, explain
        require_once('./libraries/lib.inc.php');
-       
+
+       global $PHP_SELF;
+
        $misc->printHeader($lang['strlogin']);
        $misc->printBody();
        $misc->printTrail('root');
@@ -22,7 +24,7 @@
        if (isset($msg)) $misc->printMsg($msg);
 ?>
 
-<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="login_form">
+<form action="<?php echo $PHP_SELF ?>" method="post" name="login_form">
 <?php
        if (!empty($_POST)) $vars =& $_POST;
        else $vars =& $_GET;
index d9b2d8cd88e2855994e805e5cfb81410fdb9b893..918c9fee588d7f2d0405f50bbf95f147bcc63fff 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage operators in a database
         *
-        * $Id: operators.php,v 1.25 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: operators.php,v 1.26 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show read only properties for an operator
index a1813a2b92a522db4b17416f72ab6a7b7b4e4a63..1993bcc5479b097a20db86921d4b19eeb06dcb5e 100755 (executable)
@@ -3,14 +3,13 @@
        /**
         * Slony database tab plugin
         *
-        * $Id: plugin_slony.php,v 1.18 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: plugin_slony.php,v 1.19 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        // Avoid database connections whenever possible
        switch ($action) {
index 76a1992b581caed9526814e2cb74e169f589d156..baa6b6e8084138efb6297a769e81159c6c218788 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage privileges in a database
         *
-        * $Id: privileges.php,v 1.41 2007/04/23 18:48:06 soranzo Exp $
+        * $Id: privileges.php,v 1.42 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Grant permissions on an object to a user
index e4f4407f43690c4011a8affe292424459bfbcafd..909dc1b6dba5b46e268b02da5137e0dc2cd09100 100644 (file)
@@ -3,14 +3,13 @@
        /**
         * List reports in a database
         *
-        * $Id: reports.php,v 1.28 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: reports.php,v 1.29 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Displays a screen where they can edit a report
index bf47fce5ebea50df0459cc31a5aaa191f02a0462..b81b9387fbac508d3556e039d7ce5de38cbafc42 100644 (file)
--- a/roles.php
+++ b/roles.php
@@ -3,7 +3,7 @@
        /**
         * Manage roles in a database cluster
         *
-        * $Id: roles.php,v 1.6 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: roles.php,v 1.7 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
        
        /**
         * Displays a screen for create a new role
index b0602de044fe590417e591d5848db71f0cbc0966..1f7fdb1ef1138613527f360b2661ced7bafacd63 100644 (file)
--- a/rules.php
+++ b/rules.php
@@ -3,14 +3,13 @@
        /**
         * List rules on a table OR view
         *
-        * $Id: rules.php,v 1.28 2007/05/02 16:12:07 ioguix Exp $
+        * $Id: rules.php,v 1.29 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Confirm and then actually create a rule
index 862a23b329060f8bcb072fb48deb888b45897032..984ccf49b5a81b5c2380965c4bfe7a5353745798 100755 (executable)
@@ -3,7 +3,7 @@
        /**
         * Manage schemas in a database
         *
-        * $Id: schemas.php,v 1.14 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: schemas.php,v 1.15 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show default list of schemas in the database
index f3cd2db5421174b1352e97411c98c727ba6a8ace..09effdcdddb4550b05898957eea5b5d8b2e7f870 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage sequences in a database
         *
-        * $Id: sequences.php,v 1.39 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: sequences.php,v 1.40 2007/05/28 17:30:32 ioguix Exp $
         */
        
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Display list of all sequences in the database/schema
index f966263ef9b5162d640f1c5293f88dbeeaf4eb62..53d59c657ba5ff6a27a70560fe537626a71fdd78 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage servers
         *
-        * $Id: servers.php,v 1.7 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: servers.php,v 1.8 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -12,7 +12,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
        
        function doLogout() {
                global $misc, $lang, $_reload_browser;
diff --git a/sql.php b/sql.php
index dc4c8555e084653565588d38575dfffd33a9361e..f24afa6faab55ca6fde9598ad78fe1dda69501b1 100644 (file)
--- a/sql.php
+++ b/sql.php
@@ -6,7 +6,7 @@
         * how many SQL statements have been strung together with semi-colons
         * @param $query The SQL query string to execute
         *
-        * $Id: sql.php,v 1.35 2007/04/22 00:41:58 mr-russ Exp $
+        * $Id: sql.php,v 1.36 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Prevent timeouts on large exports (non-safe mode only)
@@ -95,8 +95,6 @@
                exit;
        }
        
-       $PHP_SELF = $_SERVER['PHP_SELF'];
-
        $misc->printHeader($lang['strqueryresults']);
        $misc->printBody();
        $misc->printTrail('database');
index db916ffbe06c17d22c615cd9795b50a899e6fc05..6be582b518e5ec841c587e7bf860a0a3fa4e78a0 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Alternative SQL editing window
         *
-        * $Id: sqledit.php,v 1.33 2007/04/24 15:31:29 soranzo Exp $
+        * $Id: sqledit.php,v 1.34 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Private function to display server and list of databases
index 08c78dedbf4b8f295a629a479475d0ef6063a574..920f98b1d90205055f41aa0bfb624cd7cf083e99 100644 (file)
@@ -3,14 +3,13 @@
        /**
         * List tables in a database
         *
-        * $Id: tables.php,v 1.96 2007/05/16 17:03:51 ioguix Exp $
+        * $Id: tables.php,v 1.97 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Displays a screen where they can enter a new table
index cdade0395b0c9ce72a3ae343f5f8dc8e736364a8..1b09b9caa45b603949121e75d3ec99c6ea9ead79 100755 (executable)
@@ -3,7 +3,7 @@
        /**
         * Manage tablespaces in a database cluster
         *
-        * $Id: tablespaces.php,v 1.12 2007/01/15 15:48:17 soranzo Exp $
+        * $Id: tablespaces.php,v 1.13 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Function to allow altering of a tablespace
index 08cbdb53c16772bfd78b4c0c6e8fa181938f50fe..a1d9a8ceb42cffe76656bbffed459b02e82d4a2f 100644 (file)
@@ -3,14 +3,13 @@
        /**
         * List tables in a database
         *
-        * $Id: tblproperties.php,v 1.80 2007/05/14 17:59:32 soranzo Exp $
+        * $Id: tblproperties.php,v 1.81 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /** 
         * Function to save after altering a table
index e81bdfae16306ef454f20d5a1ccb256ad6003b48..b55e69502ce803fb02cdc62c35228fbc549905b0 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * List triggers on a table
         *
-        * $Id: triggers.php,v 1.32 2007/05/02 16:12:07 ioguix Exp $
+        * $Id: triggers.php,v 1.33 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        include_once('./classes/class.select.php');
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /** 
         * Function to save after altering a trigger
index 22eeea1e06ae91a8fe4c257da35b753014795bfe..b0e447f760e3b641cf7db7db2aed54be9d34a7e1 100644 (file)
--- a/types.php
+++ b/types.php
@@ -3,7 +3,7 @@
        /**
         * Manage types in a database
         *
-        * $Id: types.php,v 1.35 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: types.php,v 1.36 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Show read only properties for a type
index b182579b046537593dddbabf6fe31ccbdda12f4a..ebacea2098c89453fac12f885666c9d9fc838d24 100644 (file)
--- a/users.php
+++ b/users.php
@@ -3,7 +3,7 @@
        /**
         * Manage users in a database cluster
         *
-        * $Id: users.php,v 1.35 2007/04/23 15:22:29 soranzo Exp $
+        * $Id: users.php,v 1.36 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -11,7 +11,6 @@
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
                
        /**
         * If a user is not a superuser, then we have an 'account management' page
index ab51dd210a236a66a9d34663c48d46fa21aa809b..18c52d5f59505226dad4d038c6445b07e1360a8b 100755 (executable)
@@ -3,14 +3,13 @@
        /**
         * List views in a database
         *
-        * $Id: viewproperties.php,v 1.27 2007/05/14 17:59:32 soranzo Exp $
+        * $Id: viewproperties.php,v 1.28 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
        include_once('./libraries/lib.inc.php');
 
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /** 
         * Function to save after editing a view
index 4b6e1dde5abe2858ca1c70aab4faee857d03cf6e..4e5f99a07e67a0e6143436f463b18e8286a242be 100644 (file)
--- a/views.php
+++ b/views.php
@@ -3,7 +3,7 @@
        /**
         * Manage views in a database
         *
-        * $Id: views.php,v 1.69 2007/05/03 17:01:03 ioguix Exp $
+        * $Id: views.php,v 1.70 2007/05/28 17:30:32 ioguix Exp $
         */
 
        // Include application functions
@@ -12,7 +12,6 @@
        
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
        if (!isset($msg)) $msg = '';
-       $PHP_SELF = $_SERVER['PHP_SELF'];
 
        /**
         * Ask for select parameters and perform select