97,115d96 < if (isset($_GET['pdfbighp'])) { < if (file_exists(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])))) { < foreach (glob(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . DIRECTORY_SEPARATOR . '*.*') as $filename) { < try { < unlink($filename); < } catch (Exception $werty) { } < } < exec('rmdir ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp']))); < } < } else if (isset($_POST['pdfbighp'])) { < if (file_exists(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])))) { < foreach (glob(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . DIRECTORY_SEPARATOR . '*.*') as $filename) { < try { < unlink($filename); < } catch (Exception $werty) { } < } < exec('rmdir ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp']))); < } < } 119,122d99 < $pdfh=''; < $pdfbigh=''; < < 156d132 < 188,199d163 < if (isset($_POST['delh']) && !isset($_POST['touch'])) { < if (file_exists('pdftohtml.bad')) { < $comparep=date("F d Y H:i:s.", filemtime('pdftohtml.bad')); < $komparep=filesize('pdftohtml.bad'); < } < } < if (isset($_POST['delx']) && !isset($_POST['touch'])) { < if (file_exists('pdftoxml.bad')) { < $comparep=date("F d Y H:i:s.", filemtime('pdftoxml.bad')); < $komparep=filesize('pdftoxml.bad'); < } < } 212c176 < $xx=ourtouch(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_GET['delv']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['delv'])))); --- > $xx=ourtouch(dirname(__FILE__) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_GET['delv']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['delv'])))); 215c179 < if (!isset($_POST['delp']) && !isset($_POST['dela']) && !isset($_POST['delh']) && !isset($_POST['delx'])) { --- > if (!isset($_POST['delp']) && !isset($_POST['dela'])) { 219c183 < if (!isset($_POST['delp']) && !isset($_POST['dela']) && !isset($_POST['delh']) && !isset($_POST['delx'])) { --- > if (!isset($_POST['delp']) && !isset($_POST['dela'])) { 240c204 < if (!isset($_POST['delp']) && !isset($_POST['dela']) && !isset($_POST['delh']) && !isset($_POST['delx'])) { --- > if (!isset($_POST['delp']) && !isset($_POST['dela'])) { 259,260c223,224 < touch(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_POST['dela']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['dela'])))); < if (!isset($_POST['delp']) && !isset($_POST['delh']) && !isset($_POST['delx'])) { --- > touch(dirname(__FILE__) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_POST['dela']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['dela'])))); > if (!isset($_POST['delp'])) { 264c228 < if (!isset($_POST['delp']) && !isset($_POST['delh']) && !isset($_POST['delx'])) { --- > if (!isset($_POST['delp'])) { 305,306c269,270 < touch(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_POST['delp']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['delp'])))); < if (!isset($_POST['delh']) && !isset($_POST['delx'])) { --- > touch(dirname(__FILE__) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_POST['delp']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['delp'])))); > if (!isset($_POST['delp'])) { 310c274 < if (!isset($_POST['delh']) && !isset($_POST['delx'])) { --- > if (!isset($_POST['delp'])) { 338,426d301 < < if (isset($_POST['delh'])) { < if ($_POST['delh'] != '') { < $_POST['delh']='pdftohtml.bad'; < if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delh']))))) { < if (strpos(strtolower(str_replace('+',' ', urldecode($_POST['delh'])) . "?"), ".pdf?") !== false) { < if (isset($_POST['touch'])) { < //file_put_contents('xx4.xx4', 'y'); < if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delh']))))) { < if (PHP_OS == "Darwin" || 1 == 1) { < //file_put_contents('xx5.xx5', 'y'); < $time = time()+15000; < touch(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_POST['delh']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['delh'])))); < if (!isset($_POST['delx'])) { < exit; < } < } else { < if (!isset($_POST['delx'])) { < exit; < } < } < } < } else { < //$comparep=''; < //if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delh']))))) { < // $comparep=date("F d Y H:i:s.", filemtime(basename(str_replace('+',' ', urldecode($_POST['delh']))))); < //} < sleep(20); < if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delh']))))) { < if ($comparep == 'HUH' || $comparep == date("F d Y H:i:s.", filemtime(basename(str_replace('+',' ', urldecode($_POST['delh'])))))) { < //file_put_contents('xxx5.xxx5', $comparep); < ourunlink(basename(str_replace('+',' ', urldecode($_POST['delh'])))); < $olstuff.=" if (parent.document.getElementById('hemail')) { parent.document.getElementById('hemail').style.display='none'; } if (parent.document.getElementById('hsms')) { parent.document.getElementById('hsms').style.display='none'; } "; < } < } < } < } < } < if ($olstuff != '') { < echo ""; < } < exit; < } < } < < if (isset($_POST['delx'])) { < if ($_POST['delx'] != '') { < $_POST['delx']='pdftoxml.bad'; < if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delx']))))) { < if (strpos(strtolower(str_replace('+',' ', urldecode($_POST['delx'])) . "?"), ".pdf?") !== false) { < if (isset($_POST['touch'])) { < //file_put_contents('xx4.xx4', 'y'); < if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delx']))))) { < if (PHP_OS == "Darwin" || 1 == 1) { < //file_put_contents('xx5.xx5', 'y'); < $time = time()+15000; < touch(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . basename(str_replace('+',' ', urldecode($_POST['delx']))), null); //exec("touch " . basename(str_replace('+',' ', urldecode($_POST['delx'])))); < if (1 == 1) { < exit; < } < } else { < if (1 == 1) { < exit; < } < } < } < } else { < //$comparep=''; < //if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delx']))))) { < // $comparep=date("F d Y H:i:s.", filemtime(basename(str_replace('+',' ', urldecode($_POST['delx']))))); < //} < sleep(20); < if (file_exists(basename(str_replace('+',' ', urldecode($_POST['delx']))))) { < if ($comparep == 'HUH' || $comparep == date("F d Y H:i:s.", filemtime(basename(str_replace('+',' ', urldecode($_POST['delx'])))))) { < //file_put_contents('xxx5.xxx5', $comparep); < ourunlink(basename(str_replace('+',' ', urldecode($_POST['delx'])))); < $olstuff.=" if (parent.document.getElementById('xemail')) { parent.document.getElementById('xemail').style.display='none'; } if (parent.document.getElementById('xsms')) { parent.document.getElementById('xsms').style.display='none'; } "; < } < } < } < } < } < if ($olstuff != '') { < echo ""; < } < exit; < } < } < 433,434d307 < $dohtml=false; < $doxml=false; 446,451d318 < if (isset($_GET['dohtml']) || isset($_POST['dohtml'])) { < $dohtml=true; < } < if (isset($_GET['doxml']) || isset($_POST['doxml'])) { < $doxml=true; < } 607,608c474,475 <  Video Animated GIF Image PDF HTML XML

< --- >  Video Animated GIF Image PDF

> 623,624c490,491 <  Video Animated GIF Image PDF HTML XML

< --- >  Video Animated GIF Image PDF

> 641c508 < $didea=shell_exec("find " . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . " -type f -name \"" . $pattern . "\" 2> /dev/null -exec wc -c {} + | egrep '^ " . $size . " ' | sed '/ " . $size . " /s///g'"); --- > $didea=shell_exec("find " . dirname(__FILE__) . DIRECTORY_SEPARATOR . " -type f -name \"" . $pattern . "\" 2> /dev/null -exec wc -c {} + | egrep '^ " . $size . " ' | sed '/ " . $size . " /s///g'"); 660c527 < $filepath=rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['filename'])); --- > $filepath=dirname(__FILE__) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['filename'])); 671c538 < $filepath=rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['filename'])); --- > $filepath=dirname(__FILE__) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['filename'])); 697,732d563 < $bigp=''; < if (PHP_OS == "Darwin") { < $bigp='/usr/local/bin/'; < } < if ($dohtml) { < if (isset($_GET['dohtml']) && isset($_GET['pdfbighp'])) { < if (!is_dir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])))) { < mkdir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp']))); < } < $pdfh='pdftohtml -c ' . $infile . ' ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . DIRECTORY_SEPARATOR . "index 2> pdftohtml.bad ; "; < $pdfbigh=$bigp . $pdfh; < } else if (isset($_POST['dohtml']) && isset($_POST['pdfbighp'])) { < if (!is_dir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])))) { < mkdir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp']))); < } < $pdfh='pdftohtml -c ' . $infile . ' ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . DIRECTORY_SEPARATOR . "index 2> pdftohtml.bad ; "; < $pdfbigh=$bigp . $pdfh; < } < } < < if ($doxml) { < if (isset($_GET['doxml']) && isset($_GET['pdfbighp'])) { < if (!is_dir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])))) { < mkdir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp']))); < } < $pdfh.='pdftohtml -c -xml ' . $infile . ' ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . DIRECTORY_SEPARATOR . $outp . " 2> pdftoxml.bad ;"; < $pdfbigh.=$bigp . 'pdftohtml -c -xml ' . $infile . ' ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . DIRECTORY_SEPARATOR . $outp . " 2> pdftoxml.bad ;"; < } else if (isset($_POST['doxml']) && isset($_POST['pdfbighp'])) { < if (!is_dir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])))) { < mkdir(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp']))); < } < $pdfh.='pdftohtml -c -xml ' . $infile . ' ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . DIRECTORY_SEPARATOR . $outp . " 2> pdftoxml.bad ;"; < $pdfbigh.=$bigp . 'pdftohtml -c -xml ' . $infile . ' ' . rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . DIRECTORY_SEPARATOR . $outp . " 2> pdftoxml.bad ;"; < } < } < 748,757d578 < if ($dohtml) { < if ($hashbit == '') { < $hashbit=" + '#" . strtoupper($outp) . ".html'"; < } else { < $hashbit.=" + '#" . strtoupper($outp) . ".html'"; < } < } < if ($doxml) { < if ($hashbit == '') { < $hashbit=" + '#" . strtoupper($outp) . ".xml'"; 759,762d579 < $hashbit.=" + '#" . strtoupper($outp) . ".xml'"; < } < } < } else { 808c625 < var bids=['vemail', 'vsms', 'aemail', 'asms', 'pemail', 'psms', 'hemail', 'hsms', 'hemail', 'hsms']; --- > var bids=['vemail', 'vsms', 'aemail', 'asms', 'pemail', 'psms']; 923,925d739 < var ouroutp='" . strtoupper($outp) . "'; < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'h') { ext='.html'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + 'index'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'x') { ext='.xml'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + '" . $outp . "'; } 929c743 < var em=prompt('Please enter email address to send to for an email message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "' + ouroutp + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defem.trim()); --- > var em=prompt('Please enter email address to send to for an email message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "' + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defem.trim()); 953,978d766 < var ouroutp='" . strtoupper($outp) . "'; < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'h') { ext='.html'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + 'index'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'x') { ext='.xml'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + '" . $outp . "'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'a') { ext='.gif'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'p') { ext='.pdf ( or perhaps you want original PDF at " . $infile . " )'; } < var em=prompt('Please enter SMS number to send to for an SMS message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "' + ouroutp + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defs.trim()); < if (em == null) { em=''; } < if (em.trim() != '') { < if (em.trim() != em && gblurb.trim() != '') { < gblurb=' '; < setTimeout(tryagain, 120000); < } < if (em.trim() != '') { < defs=em.trim(); < document.getElementById('dimap').innerHTML=\"\"; < document.getElementById('theasms').click(); < } < } < return false; < } < < function oldsmsit(inais) { < event.stopPropagation(); < if (gfirstparam) { delit(gfirstparam, gsecondparam); } < var ext='.mp4'; < if (defs == '') { defs=' '; } 1018d805 < for (var ijk=1; ijk if (thingos[1].indexOf('.mp4') != -1) { 1022,1024c809,811 < zform.append('delv', thingos[ijk]); < dgebih=dgebih.replace(' zform.append('delv', thingos[1]); > dgebih=dgebih.replace(' } else if (thingos[1].indexOf('.gif') != -1) { 1026,1028c813,818 < zform.append('dela', thingos[ijk]); < dgebih=dgebih.replace(' zform.append('dela', thingos[1]); > dgebih=dgebih.replace(' } > } > if (thingos.length > 2) { > if (thingos[2].indexOf('.mp4') != -1) { 1030,1032c820,822 < zform.append('delh', thingos[ijk]); < dgebih=dgebih.replace(' zform.append('delv', thingos[2]); > dgebih=dgebih.replace(' } else if (thingos[2].indexOf('.gif') != -1) { 1034,1035c824,825 < zform.append('delx', thingos[ijk]); < dgebih=dgebih.replace(' zform.append('dela', thingos[2]); > dgebih=dgebih.replace(' --- >
1071c855 <
--- >
1083,1084c867,868 <  Video Animated GIF Image PDF HTML XML

< --- >  Video Animated GIF Image PDF

> 1284,1310d1067 < function outemailit(inais) { < event.stopPropagation(); < if (gfirstparam) { delit(gfirstparam, gsecondparam); } < var ext='.mp4'; < if (defem == '') { defem=' '; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'a') { ext='.gif'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'p') { ext='.pdf ( or perhaps you want original PDF at " . $infile . " )'; } < //var em=prompt('Please enter email address to send to for an email message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "' + ext, ''); < var em=prompt('Please enter email address to send to for an email message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "' + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defem.trim()); < if (em == null) { em=''; } < if (em.indexOf('@') != -1) { < if (em.trim() != em && gblurb.trim() != '') { < gblurb=' '; < setTimeout(tryagain, 120000); < } < defem=em.trim(); < document.getElementById('dimap').innerHTML=\"\"; < document.getElementById('theaemail').click(); < } else if (em.trim() == '' && em != '') { < if (em.trim() != em && gblurb.trim() != '') { < gblurb=' '; < setTimeout(tryagain, 120000); < } < } < return false; < } < 1316,1318d1072 < var ouroutp='" . strtoupper($outp) . "'; < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'h') { ext='.html'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + 'index'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'x') { ext='.xml'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + '" . $outp . "'; } 1322c1076 < var em=prompt('Please enter email address to send to for an email message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "' + ouroutp + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defem.trim()); --- > var em=prompt('Please enter email address to send to for an email message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "' + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defem.trim()); 1341d1094 < 1347,1373d1099 < var ouroutp='" . strtoupper($outp) . "'; < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'h') { ext='.html'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + 'index'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'x') { ext='.xml'; ouroutp='" . str_replace('+',' ',urldecode($_GET['pdfbighp'])) . str_replace('+',' ',urldecode($_POST['pdfbighp'])) . "' + '" . DIRECTORY_SEPARATOR . "' + '" . $outp . "'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'a') { ext='.gif'; } < if (('' + inais.id + 'v').substring(0,1).toLowerCase() == 'p') { ext='.pdf ( or perhaps you want original PDF at " . $infile . " )'; } < var em=prompt('Please enter SMS number to send to for an SMS message to which you might attach " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "' + ouroutp + ext + ' (or other " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . strtoupper($outp) . "*.* prefixing' + ' image or other media files, and note that right clicking images below is another sharing possibility)' + gblurb, defs.trim()); < if (em == null) { em=''; } < if (em.trim() != '') { < if (em.trim() != em && gblurb.trim() != '') { < gblurb=' '; < setTimeout(tryagain, 120000); < } < if (em.trim() != '') { < defs=em.trim(); < document.getElementById('dimap').innerHTML=\"\"; < document.getElementById('theasms').click(); < } < } < return false; < } < < < function oldsmsit(inais) { < event.stopPropagation(); < if (gfirstparam) { delit(gfirstparam, gsecondparam); } < var ext='.mp4'; < if (defs == '') { defs=' '; } 1413,1435d1138 < if (5 == 5) { < for (var ijk=1; ijk 1) { < if (thingos[ijk].indexOf('.mp4') != -1) { < doit=true; < zform.append('delv', thingos[ijk]); < dgebih=dgebih.replace(' Video Animated GIF Image PDF HTML XML

< --- >  Video Animated GIF Image PDF

> 1522c1219 < $proposedtable=str_replace('>', '>' . $pdfh . 'pdfimages -j ' . $infile . ' ' . $outp . ' -png', $proposedtable); --- > $proposedtable=str_replace('>', '>pdfimages -j ' . $infile . ' ' . $outp . ' -png', $proposedtable); 1526c1223 < exec($pdfbigh . 'pdfimages -j ' . $infile . ' ' . $outp . ' -png 2> pdfimages.bad'); --- > exec('pdfimages -j ' . $infile . ' ' . $outp . ' -png 2> pdfimages.bad'); 1528c1225 < $proposedtable=str_replace('>', '>' . $pdfbigh . '/usr/local/bin/pdfimages -j ' . $infile . ' ' . $outp . ' -png', $proposedtable); --- > $proposedtable=str_replace('>', '>/usr/local/bin/pdfimages -j ' . $infile . ' ' . $outp . ' -png', $proposedtable); 1532c1229 < exec($pdfbigh . '/usr/local/bin/pdfimages -j ' . $infile . ' ' . $outp . ' -png 2> pdfimages.bad'); --- > exec('/usr/local/bin/pdfimages -j ' . $infile . ' ' . $outp . ' -png 2> pdfimages.bad'); 1540c1237 < exec($pdfbigh . 'pdfimages -j ' . $infile . ' ' . $outp . ' -png 2> pdfimages.bad'); --- > exec('pdfimages -j ' . $infile . ' ' . $outp . ' -png 2> pdfimages.bad'); 1614c1311 < if ($icnt == 0 && ($dovideo || $doag || $dopdf || $dohtml || $doxml)) { --- > if ($icnt == 0 && ($dovideo || $doag || $dopdf)) { 1744,1762d1440 < $preh3=''; < if (strpos($pdfh, 'index') !== false) { < //$preh3='
' . $pdfh . " ...
"; < $preh3='
' . "HTML ... " . '(via Pdftohtml)  ' . $cbi . "
"; < $cbi=''; < } < if (strpos($pdfh, '.xml') !== false) { < //$preh3.='
' . $pdfh . " ...
"; < $preh3.='
' . "XML ... " . '(via Pdftohtml)  ' . $cbi . "
"; < $cbi=''; < } < < if ($preh3 != '') { < //file_put_contents('xxx6.xxx6', $preh3); < //file_put_contents('xxx7.xxx7', $proposedtable); < $proposedtable=str_replace('
', '

' . $preh3, $proposedtable); < //file_put_contents('xxx8.xxx8', $proposedtable); < } < 1765c1443 < $proposedtable=str_replace('', $cbi . '', $proposedtable); --- > echo str_replace('', $cbi . '', $proposedtable); 1767d1444 <