Revision 286
Added by stefan almost 20 years ago
| settings2.php | ||
|---|---|---|
| 26 | 26 |
// Get page id |
| 27 | 27 |
if(!isset($_POST['page_id']) OR !is_numeric($_POST['page_id'])) {
|
| 28 | 28 |
header("Location: index.php");
|
| 29 |
exit(0); |
|
| 29 | 30 |
} else {
|
| 30 | 31 |
$page_id = $_POST['page_id']; |
| 31 | 32 |
} |
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.