getMessage()); } else { file_put_contents(dirname(__FILE__) . "/mail.prob", date('l jS \of F Y h:i:s A') . " ... " . $merr->getMessage()); } } } $find_media = array('.wav', '.m4a', '.m4v', '.mp4', '.mp3', '.mp2', '.bmp', '.tif', '.png', '.jpeg', 'jpg', '.gif', '.ogg', '.mov', '.flv'); $cont = ""; $delim = ""; if (isset($_POST['to']) && isset($_POST['urlbig']) && isset($_POST['subject'])) { $mybody=urldecode($_POST['urlbig']); $mysubject=urldecode($_POST['subject']); $myflist=""; if (isset($_POST['url'])) { $f = strpos($_POST['url'], '%'); if ($f === false) { if ($_POST['url'] != "") $cont=@file_get_contents(($_POST['url'])); $myflist=($_POST['url']); if ($_POST['url'] != "") $delim = ";"; } else { if ($_POST['url'] != "") $cont=@file_get_contents(urldecode($_POST['url'])); $myflist=urldecode($_POST['url']); if ($_POST['url'] != "") $delim = ";"; } } $myfiles=explode(";", $mybody); if (sizeof($myfiles) > 1) { for ($ii=1; $ii function aemail(ame) { window.top.location = ame.href; } "; } else { ourpremail(urldecode($_POST['to']), $mysubject, $mybody, getheaders($cont, $myflist)); } } else if (isset($_GET['to']) && isset($_GET['urlbig']) && isset($_GET['subject'])) { $mybody=urldecode($_GET['urlbig']); $mysubject=urldecode($_GET['subject']); $myflist=""; if (isset($_GET['url'])) { $f = strpos($_GET['url'], '%'); if ($f === false) { if ($_GET['url'] != "") $cont=@file_get_contents(($_GET['url'])); $myflist=($_GET['url']); if ($_GET['url'] != "") $delim = ";"; } else { if ($_GET['url'] != "") $cont=@file_get_contents(urldecode($_GET['url'])); if ($_GET['url'] != "") $delim = ";"; $myflist=urldecode($_GET['url']); } } $myfiles=explode(";", $mybody); if (sizeof($myfiles) > 1) { for ($ii=1; $ii function aemail(ame) { window.top.location = ame.href; } "; } else { ourpremail(urldecode($_GET['to']), $mysubject, $mybody, getheaders($cont, $myflist)); } } else if (isset($_GET['url'])) { $f = strpos($_GET['url'], '%'); if ($f === false) { if ((isset($_GET['to']) || strpos($_GET['url'], 'file:') === 0) && strpos($_GET['url'], '.wav') !== false) { $cont=file_get_contents($_GET['url']); if (isset($_GET['to']) && isset($_GET['urlbig']) && isset($_GET['subject'])) { $mybody=urldecode($_GET['urlbig']); $mysubject=urldecode($_GET['subject']); $myflist=$_GET['url']; $myfiles=explode(";", $mybody); if (sizeof($myfiles) > 1) { for ($ii=1; $ii function aemail(ame) { window.top.location = ame.href; } "; } else { ourpremail(urldecode($_GET['to']), $mysubject, $mybody, getheaders($cont, $myflist)); } } else { header('Cache-Control: max-age=604800'); header('Content-type: audio/x-wav'); header('Content-Transfer-Encoding: binary'); header('Content-Length: ' . filesize($_GET['url'])); echo $cont; } } else { echo file_get_contents($_GET['url']); } } else if ($f < 7) { if ((isset($_GET['to']) || strpos($_GET['url'], 'file:') === 0) && strpos(urldecode($_GET['url']), '.wav') !== false) { $cont=file_get_contents(urldecode($_GET['url'])); if (isset($_GET['to']) && isset($_GET['urlbig']) && isset($_GET['subject'])) { $mybody=urldecode($_GET['urlbig']); $mysubject=urldecode($_GET['subject']); $myflist=urldecode($_GET['url']); $myfiles=explode(";", $mybody); if (sizeof($myfiles) > 1) { for ($ii=1; $ii function aemail(ame) { window.top.location = ame.href; } "; } else { ourpremail(urldecode($_GET['to']), $mysubject, $mybody, getheaders($cont, $myflist)); } } else { header('Cache-Control: max-age=604800'); header('Content-type: audio/x-wav'); header('Content-Transfer-Encoding: binary'); header('Content-Length: ' . filesize(urldecode($_GET['url']))); echo $cont; } } else { echo file_get_contents(urldecode($_GET['url'])); } } else { if ((isset($_GET['to']) || strpos($_GET['url'], 'file:') === 0) && strpos($_GET['url'], '.wav') !== false) { $cont=file_get_contents($_GET['url']); if (isset($_GET['to']) && isset($_GET['urlbig']) && isset($_GET['subject'])) { $mybody=urldecode($_GET['urlbig']); $mysubject=urldecode($_GET['subject']); $myflist=$_GET['url']; $myfiles=explode(";", $mybody); if (sizeof($myfiles) > 1) { for ($ii=1; $ii function aemail(ame) { window.top.location = ame.href; } "; } else { ourpremail(urldecode($_GET['to']), $mysubject, $mybody, getheaders($cont, $myflist)); } } else { header('Cache-Control: max-age=604800'); header('Content-type: audio/x-wav'); header('Content-Transfer-Encoding: binary'); header('Content-Length: ' . filesize($_GET['url'])); echo $cont; } } else { echo file_get_contents($_GET['url']); } } } else { echo ""; } ?>