westconn1
Apr 14th, 2008, 07:45 AM
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?
if ( ereg( "[\r\n]", $name ) || ereg( "[\r\n]", $email ) ) {
header( "Location: $errorurl" );
exit ;
}
i want to change it to either open the page in a new browser window or a messagebox or alert, is this possible?
if ( ereg( "[\r\n]", $name ) || ereg( "[\r\n]", $email ) ) {
header( "Location: $errorurl" );
exit ;
}