part of the code on a php script opens a page (from variable $errorurl) in the existing window, where the script was called from,
i want to change it to either open the page in a new browser window or a messagebox or alert, is this possible?

Code:
if ( ereg( "[\r\n]", $name ) || ereg( "[\r\n]", $email ) ) {
	header( "Location: $errorurl" );
	exit ;
}