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