$title=$body=""; // helper to get current url function curPageURL() { $pageURL = 'http'; if (array_key_exists('HTTPS',$_SERVER) && $_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } if (array_key_exists('t2',$_GET)) { $url = preg_replace("/\\?.*$/","?t=",curPageURL()) . urlencode(base64_encode($_GET['t2'])); $cuerpo = "$url"; } else { if (array_key_exists('t',$_GET)) { $title=htmlspecialchars(base64_decode($_GET['t'])); } $cuerpo = "