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:

intro2.php
26 26
// Get posted content
27 27
if(!isset($_POST['content'])) {
28 28
	header("Location: intro.php");
29
	exit(0);
29 30
} else {
30 31
	$content = $_POST['content'];
31 32
}

Also available in: Unified diff