Code: Select all
<?php
if(isset($_POST['Submit'])) {
		$event = $_POST['event'];
		if($event != "exit") {
			$location = $event.'/';
			header('Location:'.$location);
		}
	}
?>I understand that a PHP header event has to be the very first thing that happens before anything else on the page. So, my question is: How can I get this to work with CMSMS?
Any help very gratefully received,
T



