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