wwwroot) === 0) { // Anything on this site redirect(urldecode($jump)); } else if (preg_match('/^[a-z]+\.php\?/', $jump)) { redirect(urldecode($jump)); } redirect($_SERVER['HTTP_REFERER']); // Return to sender, just in case ?>