Project

General

Profile

« Previous | Next » 

Revision 286

Added by stefan almost 19 years ago

Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.

View differences:

upload.php
26 26
// Target location
27 27
if(!isset($_POST['target']) OR $_POST['target'] == '') {
28 28
	header("Location: index.php");
29
	exit(0);
29 30
} else {
30 31
	$target = $_POST['target'];
31 32
}

Also available in: Unified diff