5,78d4 < 87d12 < 89d13 < $mimetype="application/octet-stream"; 109,110c33 < if (isset($_POST['submit']) || isset($_POST['emailsubmit'])) { < --- > if(isset($_POST['submit'])){ 115d37 < if ($_FILES['upload']['type'] == $types[$it]) $mimetype="application/" . explode("/",str_replace("mp4","quicktime",str_replace("mov","quicktime",$types[$it]))[1]); 126c48,49 < while (file_exists($dir.$lastbit) || file_exists($dir.$realbit)) { --- > while (file_exists($dir.$lastbit) || file_exists($dir.$realbit)) > { 135c58,59 < if ($sra == '' || $sra == '//' || $sra == '::' || str_replace('.','',$sra) == $sra) { --- > if ($sra == '' || $sra == '//' || $sra == '::' || str_replace('.','',$sra) == $sra) > { 143c67,68 < while (file_exists($dir.$iprealbit)) { --- > while (file_exists($dir.$iprealbit)) > { 164,224d88 < < $body=@file_get_contents($dir . $new_name); < $filename=basename($dir . $new_name); < < < if (isset($_POST['emailsubmit'])) { < if (isset($_POST['mode']) && strpos($_SERVER['SERVER_NAME'], "rjmprogramming.com.au") !== false) { < if ($_POST['mode'] != '') { // && isset($_POST['mydurl'])) { < < if (isset($_POST['mymobile'])) { < if ($_POST['mymobile'] != "") { < $mtm = urldecode($_POST['mymobile']); < $tos = explode("?", $mtm); < $to = str_replace("mailto:", "", $tos[0]); < $subjects = explode("&", $tos[1]); < $subject = str_replace("subject=", "", $subjects[0]); < //$body = ($_POST['mydurl']); < $eol = PHP_EOL; < $headers = 'From: ' . 'rmetcalfe@rjmprogramming.com.au' . $eol; < $headers .= 'Reply-To: ' . 'rmetcalfe@rjmprogramming.com.au' . $eol; < < //$fname = explode(";", $body); < //$filename=str_replace("quicktime", "mp4", str_replace("/", ".", str_replace("data:", "", $fname[0]))); < //$filename="media.html"; < $content = chunk_split(base64_encode($body)); < //$uid = md5(uniqid(time())); < < // a random hash will be necessary to send mixed content < $separator = md5(time()); < < $headers .= "MIME-Version: 1.0" . $eol; < $headers .= "Content-Type: multipart/mixed; boundary=\"" . $separator . "\"" . $eol . $eol; < $headers .= "Content-Transfer-Encoding: 7bit" . $eol; < $headers .= "This is a MIME encoded message." . $eol . $eol; < < // message < $headers .= "--" . $separator . $eol; < $headers .= "Content-Type: text/plain; charset=\"iso-8859-1\"" . $eol; < $headers .= "Content-Transfer-Encoding: 8bit" . $eol . $eol; < < $headers .= "Please see attachment below:" . $eol . $eol; < < //ourpremail($tem, $mysubject, "", $headers . "--" . $separator . "--"); < < // attachment < $headers .= "--" . $separator . $eol; < $headers .= "Content-Type: " . $mimetype . "; name=\"" . $filename . "\"" . $eol; < $headers .= "Content-Transfer-Encoding: base64" . $eol; < $headers .= "Content-Disposition: attachment;filename=\"" . $filename . "\"" . $eol; < $headers .= $content . $eol . $eol; < < $headers .= "--" . $separator . "--"; < < mail($to, $subject, "", $headers); < } < } < < } < } < } < 240c104 < echo "" . sizeof($_FILES) . " File {$_FILES['upload']['name']} Was Not Uploaded!
"; --- > echo "File {$_FILES['upload']['name']} Was Not Uploaded!
"; 259,261c123,125 < Upload Audio "RJM Programming" file(s) (<= 3,000,000 bytes) - Everybody Welcome ... but keep it fairly short! < < Upload Audio "RJM Programming" file(s) (<= 1,000,000 bytes) - Everybody Welcome ... but keep it very short! > > --- > type="file" name="upload" accept="audio/*" capture> 265,278d128 < < < <

Fill out all fields below to email your content, before clicking above to create Audio/Video:

< < < To:
< Subject:
<
281,282d130 < 285,306d132 < < < <