path disclosure
This commit is contained in:
@@ -10,6 +10,8 @@ require('./libraries/grab_globals.lib.php3');
|
|||||||
$js_to_run = 'functions.js';
|
$js_to_run = 'functions.js';
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
|
|
||||||
|
// Check parameters
|
||||||
|
PMA_checkParameters(array('db', 'table'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the url to return to in case of error in a sql statement
|
* Defines the url to return to in case of error in a sql statement
|
||||||
@@ -168,6 +170,7 @@ if (isset($submit)) {
|
|||||||
*/
|
*/
|
||||||
if ($abort == FALSE) {
|
if ($abort == FALSE) {
|
||||||
if (!isset($selected)) {
|
if (!isset($selected)) {
|
||||||
|
PMA_checkParameters(array('field'));
|
||||||
$selected[] = $field;
|
$selected[] = $field;
|
||||||
$selected_cnt = 1;
|
$selected_cnt = 1;
|
||||||
} else { // from a multiple submit
|
} else { // from a multiple submit
|
||||||
|
@@ -10,6 +10,13 @@ require('./libraries/grab_globals.lib.php3');
|
|||||||
$js_to_run = 'functions.js';
|
$js_to_run = 'functions.js';
|
||||||
require('./header.inc.php3');
|
require('./header.inc.php3');
|
||||||
|
|
||||||
|
// Check parameters
|
||||||
|
|
||||||
|
if (!defined('PMA_COMMON_LIB_INCLUDED')) {
|
||||||
|
include('./libraries/common.lib.php3');
|
||||||
|
}
|
||||||
|
|
||||||
|
PMA_checkParameters(array('db', 'table'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the url to return to in case of error in a sql statement
|
* Defines the url to return to in case of error in a sql statement
|
||||||
|
@@ -2,6 +2,14 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
// vim: expandtab sw=4 ts=4 sts=4:
|
// vim: expandtab sw=4 ts=4 sts=4:
|
||||||
|
|
||||||
|
// Check parameters
|
||||||
|
|
||||||
|
if (!defined('PMA_COMMON_LIB_INCLUDED')) {
|
||||||
|
include('./libraries/common.lib.php3');
|
||||||
|
}
|
||||||
|
|
||||||
|
PMA_checkParameters(array('db', 'table'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Insert data from one table to another one
|
* Insert data from one table to another one
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user