mark { background-color: yellow; color: black; } ';
$midhsscr="";
$yellow="yellow";
if (isset($_GET['highlight'])) {
if (strlen(mhcols($_GET['highlight'])) > 0) {
$haskbit=str_replace(' value=""',' value="' . str_replace('U 0003B',';',explode(';', str_replace('+',' ',urldecode($_GET['highlight'])))[-1 + sizeof(explode(';', str_replace('+',' ',urldecode($_GET['highlight']))))]) . '"',$haskbit);
$yellow="orange";
$midhsscr=" var morestyle='" . $morestyle . "'; if (iois != null) { aconto = (iois.contentWindow || iois.contentDocument); if (aconto != null) { if (aconto.document) { aconto = aconto.document; } if (aconto.body != null) { " . $pdve . " aconto.body.innerHTML=(aconto.body.innerHTML + morestyle).replace(/" . str_replace('U 0003B',';',explode(';', str_replace('+',' ',urldecode($_GET['highlight'])))[-1 + sizeof(explode(';', str_replace('+',' ',urldecode($_GET['highlight']))))]) . "/g, '" . str_replace('U 0003B',';',explode(';', str_replace('+',' ',urldecode($_GET['highlight'])))[-1 + sizeof(explode(';', str_replace('+',' ',urldecode($_GET['highlight']))))]) . "<' + String.fromCharCode(47) + 'mark>'); } } } ";
}
}
$hsscr="";
$style="
';
$delm="\n";
$outrepis='';
$parts=explode('>', $incm);
if (sizeof($parts) >= 2) {
$outrepis=shell_exec($parts[0]);
$outlines=[];
if (strpos($outrepis, "\r\n") !== false) {
$delm="\r\n";
$outlines=explode("\r\n", $outrepis);
//array_push($outlines, $delm);
} else if (strpos($outrepis, "\n") !== false) {
$delm="\n";
$outlines=explode("\n", $outrepis);
//array_push($outlines, $delm);
} else if (strpos($outrepis, "\r") !== false) {
$delm="\r";
$outlines=explode("\r", $outrepis);
//array_push($outlines, $delm);
}
$thisoldblock='';
$thisnewblock='';
$needschange='';
$lastaline='';
for ($ia=0; $ia
if (strpos($oone, ".one") === false && strpos($oone, ".two") !== false) { if (isset($_GET['one']) && isset($_GET['two'])) { if (isset($_GET['highlight'])) { if (strlen($_GET['highlight']) > 0) { $prestr=""; if (file_exists(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone))) { $prestr='' . str_replace("\n","'; } else { $prestr='
",str_replace('','&#',str_replace(' ',' ',str_replace('<','<',str_replace('>','>', file_get_contents(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone)) ))))) . '' . str_replace("\n","'; } file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/two.html', $prestr); return '/two.html'; } } return str_replace('+',' ',urldecode($_GET['two'])); } else if (isset($_GET['one']) && !isset($_GET['two'])) { if (str_replace("--GETME", "", $_GET['one']) != $_GET['one']) { if (isset($_GET['highlight'])) { if (strlen($_GET['highlight']) > 0) { $prestr=""; if (file_exists(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone))) { $prestr='
",str_replace('','&#',str_replace(' ',' ',str_replace('<','<',str_replace('>','>', file_get_contents(dirname(__FILE__) . "/" . "two.two") ))))) . '' . str_replace("\n","'; } else { $prestr='
",str_replace('','&#',str_replace(' ',' ',str_replace('<','<',str_replace('>','>', file_get_contents(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone)) ))))) . '' . str_replace("\n","'; } file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/two.html', $prestr); return '/two.html'; } } return str_replace("--GETME","-GETME",str_replace('+',' ',urldecode($_GET['one']))); } } //} if (file_exists(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone))) { return str_replace('.', server_remote_addr() . '.', $oone); } return $oone; } if (isset($_GET['linkit']) || isset($_POST['linkit'])) { //file_put_contents("found.c",strlen($lastoi)); if (file_exists($oone) && $lastoi == '') { ofinterest(file_get_contents($oone)); } } if ($lastoi != "" && (isset($_GET['linkit']) || isset($_POST['linkit']))) { //file_put_contents("found.that","huh"); file_put_contents($oone . server_remote_addr() . ".html", "
",str_replace('','&#',str_replace(' ',' ',str_replace('<','<',str_replace('>','>', file_get_contents(dirname(__FILE__) . "/" . "two.two") ))))) . '" . str_replace("","&#", str_replace("\n","
", str_replace('<A ','', str_replace('<DIV ','', str_replace('</SPAN>','', str_replace('ccc">','ccc">', str_replace("<","<",str_replace(">",">",$lastoi)))))))))) ) . ""); $lastonetodelete=$oone . server_remote_addr() . ".html"; return $oone . server_remote_addr() . ".html"; } //$lastoi=""; if (isset($_GET['one'])) { if (isset($_GET['highlight'])) { if (strlen($_GET['highlight']) > 0) { $prestr=""; if (file_exists(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone))) { $prestr='' . str_replace("\n","'; } else { $prestr='
",str_replace('','&#',str_replace(' ',' ',str_replace('<','<',str_replace('>','>', file_get_contents(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone)) ))))) . '' . str_replace("\n","'; } file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/one.html', $prestr); return '/one.html'; } } return str_replace('+',' ',urldecode($_GET['one'])); } if (file_exists(dirname(__FILE__) . "/" . str_replace('.', server_remote_addr() . '.', $oone))) { return str_replace('.', server_remote_addr() . '.', $oone); } return $oone; } function ofinterest($intobelinked) { global $lastoi, $contis, $inid; $spareintobelinked=$intobelinked; $outtobelinked=$intobelinked; $fns=explode("(", $intobelinked); for ($ifns=0; $ifns
",str_replace('','&#',str_replace(' ',' ',str_replace('<','<',str_replace('>','>', file_get_contents(dirname(__FILE__) . "/" . "one.one") ))))) . '= "a" && substr(strtolower($fns[$ifns]),$jns,1) <= "z") { $fnidea=substr($fns[$ifns],$jns,1); $jns--; while (substr($fns[$ifns],$jns,1) == "." || substr($fns[$ifns], $jns,1) == "_" || (substr(strtolower($fns[$ifns]),$jns,1) >= "a" && substr(strtolower($fns[$ifns]),$jns,1) <= "z")) { $fnidea=substr($fns[$ifns], $jns,1) . $fnidea; $kns=$jns; $jns--; if ($jns < 0) { break; } if (substr($fns[$ifns],$kns,1) == ".") { break; } } if ($fnidea != "") { if (substr($fnidea,0,1) == ".") { if (strpos($outtobelinked, "this" . $fnidea . "=") !== false) { $outtobelinked=str_replace("this" . $fnidea . "=", "this." . substr($fnidea,1) . "=", $outtobelinked); } else if (strpos($outtobelinked, "this" . $fnidea . " =") !== false) { $outtobelinked=str_replace("this" . $fnidea . " =", "this." . substr($fnidea,1) . " =", $outtobelinked); } else if (strpos($spareintobelinked, "this" . $fnidea . " =") !== false) { $spareintobelinked=str_replace("this" . $fnidea . " =", "this." . substr($fnidea,1) . " =", $spareintobelinked); $fns=explode("(", $spareintobelinked); } else if (strpos($spareintobelinked, "this" . $fnidea . "=") !== false) { $spareintobelinked=str_replace("this" . $fnidea . "=", "this." . substr($fnidea,1) . "=", $spareintobelinked); $fns=explode("(", $spareintobelinked); } $fnidea=substr($fnidea,1); $jns++; } } //file_put_contents("found.this",$fnidea); if (strpos(($fns[$ifns] . "("), "function " . $fnidea . "(") !== false && strpos($outtobelinked, "" . $fnidea . "("; } else if (strlen($fnidea) > 3 && strpos($outtobelinked, ">" . $fnidea . " ") === false && strpos($spareintobelinked, ">" . $fnidea . "") !== false) { $outtobelinked.=substr($fns[$ifns],0,($jns + 1)) . "" . $fnidea . "("; } else if (strlen($fnidea) > 3 && strpos($outtobelinked, ">" . $fnidea . "") === false && strpos($outtobelinked, ">" . $fnidea . "") !== false) { $outtobelinked.=substr($fns[$ifns],0,($jns + 1)) . "" . $fnidea . "("; } else if (strlen($fnidea) > 3 && strpos($outtobelinked, ">" . $fnidea . "") === false) { $oty=urlencode("http://www.google.com/search?q=" . urlencode($fnidea) . "+w3schools+php.net+computerhope"); $outtobelinked.=substr($fns[$ifns],0,($jns + 1)) . "" . $fnidea . "("; } else { $outtobelinked.=$fns[$ifns] . "("; } } else { $outtobelinked.=$fns[$ifns] . "("; } } else { $outtobelinked.="("; } } if (isset($_GET['linkit']) || isset($_POST['linkit'])) { //file_put_contents("found.b", strlen($outtobelinked)); if ($contis != "") { $outtobelinked=str_replace("", "", $outtobelinked); } $lastoi=$outtobelinked; } return $intobelinked; } function yourfile_get_contents($inuis) { global $lastoi; if (strpos(("~" . $inuis), "~//") !== false) { if (isset($_GET['linkit']) || isset($_POST['linkit'])) { //file_put_contents("found.it","huh"); return ofinterest(file_get_contents("http:" . $inuis)); } //file_put_contents('x1.x1', "http:" . $inuis); return file_get_contents("http:" . $inuis); } if (isset($_GET['linkit']) || isset($_POST['linkit'])) { //file_put_contents("found.oi","huh"); return ofinterest(file_get_contents($inuis)); } return file_get_contents($inuis); } function ourfile_get_contents($inuis) { if (strpos(("~" . $inuis), "~//") !== false) { //file_put_contents('x2.x2', "http:" . $inuis); return file_get_contents("http:" . $inuis); } return file_get_contents($inuis); } if (isset($_GET['one']) && !isset($_GET['two'])) { if (str_replace("--GETME", "", $_GET['one']) != $_GET['one']) { $called="y"; $iframebits="Latest file " . postmapit('...') . " Differences below this ... " . hit($_GET['one']) . "
"; $iframebits.="Differences" . $haskbit . " ^ v" . $legend . "
"; $iframebits.="Older file ... Differences just above ... " . hit(str_replace("--GETME", "-GETME", $_GET['one'])) . "
"; $suffix = " file(s) not found"; if (str_replace("GETME", "", $_GET['one']) != $_GET['one']) { $suffix=""; $onec = yourfile_get_contents($_GET['one']); if (str_replace(" ","",$onec) == "" || strpos($onec, "No newline" . " at end of file") !== false) $suffix = " " . $_GET['one'] . " not found"; $twoc = ourfile_get_contents(str_replace("--GETME", "-GETME", $_GET['one'])); if (str_replace(" ","",$twoc) == "" || strpos($twoc, "No newline" . " at end of file") !== false) $suffix .= " " . str_replace("--GETME", "-GETME", $_GET['one']) . " not found"; } else { $suffix = " sorry, no can do"; } } else if (str_replace("-GETME", "", $_GET['one']) != $_GET['one']) { $called="y"; $iframebits="Latest file " . postmapit('...') . " Differences below this ... " . hit($_GET['one']) . "
"; $iframebits.="Differences" . $haskbit . " ^ v" . $legend . "
"; $iframebits.="Older file ... Differences just above ... " . hit(str_replace("-GETME", "_GETME", $_GET['one'])) . "
"; $suffix = " file(s) not found"; if (str_replace("GETME", "", $_GET['one']) != $_GET['one']) { $suffix=""; $onec = yourfile_get_contents($_GET['one']); if (str_replace(" ","",$onec) == "" || strpos($onec, "No newline" . " at end of file") !== false) $suffix = " " . $_GET['one'] . " not found"; $twoc = ourfile_get_contents(str_replace("-GETME", "_GETME", $_GET['one'])); if (str_replace(" ","",$twoc) == "" || strpos($twoc, "No newline" . " at end of file") !== false) $suffix .= " " . str_replace("-GETME", "_GETME", $_GET['one']) . " not found"; } else { $suffix = " sorry, no can do"; } } else if (str_replace("GETME", "", $_GET['one']) != $_GET['one']) { $fillinone=$_GET['one']; } } else if (isset($_GET['one']) && isset($_GET['two'])) { if ($_GET['one'] != "" && $_GET['two'] != "" && $_GET['one'] != $_GET['two'] && str_replace("GETME","",str_replace("_","",str_replace("-","",$_GET['one']))) == str_replace("GETME","",str_replace("_","",str_replace("-","",$_GET['two'])))) { if (str_replace("GETME", "", $_GET['one']) != $_GET['one'] && str_replace("GETME", "", $_GET['two']) != $_GET['two']) { $xprefix=""; $xsuffix=""; } else if (str_replace("GETME", "", $_GET['one']) != $_GET['one'] || str_replace("GETME", "", $_GET['two']) != $_GET['two']) { $xprefix=" "; $onloadbit=" onload=\" var huh=prompt('Password? (Hint: Why is a duck?)',''); if (huh != null && huh == 'BecausE IT FlieS SO HigH') { document.getElementById('diffdiv').style.display='block'; } else { document.getElementById('diffdiv').innerHTML=''; } \""; $prevg=""; if (str_replace("GETME", "", $_GET['one']) == $_GET['one']) { if ("" != @ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_GET['two']))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_GET['two']))); while ($prevg != "") { $_GET['one']=$prevg; if ("" != ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))); } else { $prevg=""; } } $xprefix=""; $xsuffix=""; $onloadbit=""; } } else { if ("" != @ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_GET['one']))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_GET['one']))); while ($prevg != "") { $_GET['two']=$prevg; if ("" != ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))); } else { $prevg=""; } } $xprefix=""; $xsuffix=""; $onloadbit=""; } } } $called="y"; $iframebits=$xprefix . "Latest file " . postmapit('...') . " Differences below this " . hit($_GET['one']) . "
"; $iframebits.="Differences" . $haskbit . " ^ v" . $legend . "
"; $iframebits.="Older file ... Differences just above " . hit($_GET['two']) . "
" . $xsuffix; } $suffix = " file(s) not found"; if (str_replace("GETME", "", $_GET['one']) != $_GET['one'] || str_replace("GETME", "", $_GET['two']) != $_GET['two']) { $suffix=""; $onec = yourfile_get_contents($_GET['one']); if (str_replace(" ","",$onec) == "" || strpos($onec, "No newline" . " at end of file") !== false) $suffix = " " . $_GET['one'] . " not found"; $twoc = ourfile_get_contents($_GET['two']); if (str_replace(" ","",$twoc) == "" || strpos($twoc, "No newline" . " at end of file") !== false) $suffix .= " " . $_GET['two'] . " not found"; } else { $suffix = " sorry, no can do"; } } else if (isset($_POST['one']) && !isset($_POST['two'])) { if (str_replace("--GETME", "", $_POST['one']) != $_POST['one']) { $called="y"; $iframebits="Latest file " . postmapit('...') . " Differences below this" . hit($_POST['one']) . "
"; $iframebits.="Differences" . $haskbit . " ^ v" . $legend . "
"; $iframebits.="Older file ... Differences just above" . hit(str_replace("--GETME", "-GETME", $_POST['one'])) . "
"; $suffix = " file(s) not found"; if (str_replace("GETME", "", $_POST['one']) != $_POST['one']) { $suffix=""; $onec = yourfile_get_contents($_POST['one']); if (str_replace(" ","",$onec) == "" || strpos($onec, "No newline" . " at end of file") !== false) $suffix = " " . $_POST['one'] . " not found"; $twoc = ourfile_get_contents(str_replace("--GETME", "-GETME", $_POST['one'])); if (str_replace(" ","",$twoc) == "" || strpos($twoc, "No newline" . " at end of file") !== false) $suffix .= " " . str_replace("--GETME", "-GETME", $_POST['one']) . " not found"; } else { $suffix = " sorry, no can do"; } } else if (str_replace("-GETME", "", $_POST['one']) != $_POST['one']) { $called="y"; $iframebits="Latest file " . postmapit('...') . " Differences below this" . hit($_POST['one']) . "
"; $iframebits.="Differences" . $haskbit . " ^ v" . $legend . "
"; $iframebits.="Older file ... Differences just above" . hit(str_replace("-GETME", "_GETME", $_POST['one'])) . "
"; $suffix = " file(s) not found"; if (str_replace("GETME", "", $_POST['one']) != $_POST['one']) { $suffix=""; $onec = yourfile_get_contents($_POST['one']); if (str_replace(" ","",$onec) == "" || strpos($onec, "No newline" . " at end of file") !== false) $suffix = " " . $_POST['one'] . " not found"; $twoc = ourfile_get_contents(str_replace("-GETME", "_GETME", $_POST['one'])); if (str_replace(" ","",$twoc) == "" || strpos($twoc, "No newline" . " at end of file") !== false) $suffix .= " " . str_replace("-GETME", "_GETME", $_POST['one']) . " not found"; } else { $suffix = " sorry, no can do"; } } else if (str_replace("GETME", "", $_POST['one']) != $_POST['one']) { $fillinone=$_POST['one']; } } else if (isset($_POST['one']) && isset($_POST['two'])) { $suffix = " file(s) not found"; if ($_POST['one'] != "" && $_POST['two'] != "" && $_POST['one'] != $_POST['two'] && str_replace("GETME","",str_replace("_","",str_replace("-","",$_POST['one']))) == str_replace("GETME","",str_replace("_","",str_replace("-","",$_POST['two'])))) { if (str_replace("GETME", "", $_POST['one']) != $_POST['one'] && str_replace("GETME", "", $_POST['two']) != $_POST['two']) { $xprefix=""; $xsuffix=""; } else if (str_replace("GETME", "", $_POST['one']) != $_POST['one'] || str_replace("GETME", "", $_POST['two']) != $_POST['two']) { $xprefix=" "; $onloadbit=" onload=\" var huh=prompt('Password? (Hint: Why is a duck?)',''); if (huh != null && huh == 'BecausE IT FlieS SO HigH') { document.getElementById('diffdiv').style.display='block'; } else { document.getElementById('diffdiv').innerHTML=''; } \""; $prevg=""; if (str_replace("GETME", "", $_POST['one']) == $_POST['one']) { if ("" != @ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_POST['two']))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_POST['two']))); while ($prevg != "") { $_POST['one']=$prevg; if ("" != @ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))); } else { $prevg=""; } } $xprefix=""; $xsuffix=""; $onloadbit=""; } } else { if ("" != ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_POST['one']))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $_POST['one']))); while ($prevg != "") { $_POST['two']=$prevg; if ("" != ourfile_get_contents(str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))))) { $prevg=str_replace("GET~ME","GETME",str_replace("_GETME", "-GET~ME", str_replace("-GETME", "--GET~ME", $prevg))); } else { $prevg=""; } } $xprefix=""; $xsuffix=""; $onloadbit=""; } } } $called="y"; $iframebits=$xprefix . "Latest file " . postmapit('...') . " Differences below this " . hit($_POST['one']) . "
"; $iframebits.="Differences" . $haskbit . " ^ v" . $legend . "
"; $iframebits.="Older file ... Differences just above " . hit($_POST['two']) . "
" . $xsuffix; } if (str_replace("GETME", "", $_POST['one']) != $_POST['one'] || str_replace("GETME", "", $_POST['two']) != $_POST['two']) { $suffix=""; $onec = yourfile_get_contents($_POST['one']); if (str_replace(" ","",$onec) == "" || strpos($onec, "No newline" . " at end of file") !== false) $suffix = " " . $_POST['one'] . " not found"; $twoc = ourfile_get_contents($_POST['two']); if (str_replace(" ","",$twoc) == "" || strpos($twoc, "No newline" . " at end of file") !== false) $suffix .= " " . $_POST['two'] . " not found"; } else { $suffix = " sorry, no can do"; } } if ($suffix == "" && (str_replace(" ","",$onec) != "" || str_replace(" ","",$twoc) != "")) { //file_put_contents("found.a",""); $jjg=1; while (file_exists(dirname(__FILE__) . "/huh0JUNK9.html")) { sleep(5); $jjg++; if ($jjg >= 9) { unlink(dirname(__FILE__) . "/huh0JUNK9.html"); } } $fh = fopen(dirname(__FILE__) . "/one" . server_remote_addr() . ".one", "w"); fwrite($fh, $onec); fclose($fh); $fh = fopen(dirname(__FILE__) . "/two" . server_remote_addr() . ".two", "w"); fwrite($fh, $twoc); fclose($fh); if (isset($_GET['markit'])) { ourshell_exec("diff " . $_GET['minus'] . " " . dirname(__FILE__) . "/one" . server_remote_addr() . ".one " . dirname(__FILE__) . "/two" . server_remote_addr() . ".two > " . dirname(__FILE__) . "/huh" . server_remote_addr() . ".huh"); exec("cp -r " . dirname(__FILE__) . "/one" . server_remote_addr() . ".one " . dirname(__FILE__) . "/one.one"); exec("cp -r " . dirname(__FILE__) . "/two" . server_remote_addr() . ".two " . dirname(__FILE__) . "/two.two"); } else { exec("diff " . $_GET['minus'] . " " . dirname(__FILE__) . "/one" . server_remote_addr() . ".one " . dirname(__FILE__) . "/two" . server_remote_addr() . ".two > " . dirname(__FILE__) . "/huh" . server_remote_addr() . ".huh"); exec("cp -r " . dirname(__FILE__) . "/one" . server_remote_addr() . ".one " . dirname(__FILE__) . "/one.one"); exec("cp -r " . dirname(__FILE__) . "/two" . server_remote_addr() . ".two " . dirname(__FILE__) . "/two.two"); } $onecommand.=" function muchl() { if (document.getElementById('lspan').innerHTML.indexOf(\".atob('')\") != -1) { document.getElementById('lspan').innerHTML=document.getElementById('lspan').innerHTML.replace(\".atob('')\", \".atob('" . trim(base64_encode(file_get_contents("huh" . server_remote_addr() . ".huh"))) . "')\"); } } setTimeout(muchl,8000); "; if (file_exists(dirname(__FILE__) . "/one" . server_remote_addr() . ".one")) { unlink(dirname(__FILE__) . "/one" . server_remote_addr() . ".one"); } if (file_exists(dirname(__FILE__) . "/two" . server_remote_addr() . ".two")) { unlink(dirname(__FILE__) . "/two" . server_remote_addr() . ".two"); } //if ($called == "") unlink(dirname(__FILE__) . "/one" . server_remote_addr() . ".one" . server_remote_addr() . ".html"); if ($called == "") unlink(dirname(__FILE__) . "/one" . server_remote_addr() . ".one"); if ($called == "") unlink(dirname(__FILE__) . "/two" . server_remote_addr() . ".two"); if ($called != "") { if (strpos(('' . $_SERVER['QUERY_STRING']), "linkit=") !== false && strpos(('' . $_SERVER['QUERY_STRING']), "linktwoit=") === false) { //sleep(5); header('Location: ./diff.php?' . str_replace("linkit=", "linktwoit=y&linkit=", $_SERVER['QUERY_STRING'])); exit; } echo "" . $style . "function checkhcheckhtml() { document.getElementById('ifdiffx').src=document.getElementById('ifdiffx').src.replace('checkh=','checkhtml='); } function checkhtmldeletehtml() { document.getElementById('ifdiffx').src=document.getElementById('ifdiffx').src.replace('checkhtml=','deletehtml='); } function checkh(iois) { if (('' + iois.src).indexOf('checkh=') != -1) { setTimeout(checkhcheckhtml,20000); } else if (('' + iois.src).indexOf('checkhtml=') != -1) { setTimeout(checkhtmldeletehtml,20000); } } " . $onecommand . " PHP Linux diff file differences ... First file, Differences, Second file ... RJM Programming November 2013 \n"; echo $iframebits; echo $mx . ""; if ($lastonetodelete != "") { exec("sleep 8; rm -f " . $lastonetodelete); $lastonetodelete=""; } } else { header("Location: " . "/huh" . server_remote_addr() . ".huh"); } } else { if (strpos(('' . $_SERVER['QUERY_STRING']), "linkit=") !== false && strpos(('' . $_SERVER['QUERY_STRING']), "linktwoit=") === false) { //sleep(5); header('Location: ./diff.php?' . str_replace("linkit=", "linktwoit=y&linkit=", $_SERVER['QUERY_STRING'])); exit; } echo "" . $style . "function checkhcheckhtml() { document.getElementById('ifdiffx').src=document.getElementById('ifdiffx').src.replace('checkh=','checkhtml='); } function checkhtmldeletehtml() { document.getElementById('ifdiffx').src=document.getElementById('ifdiffx').src.replace('checkhtml=','deletehtml='); } function checkh(iois) { if (('' + iois.src).indexOf('checkh=') != -1) { setTimeout(checkhcheckhtml,20000); } else if (('' + iois.src).indexOf('checkhtml=') != -1) { setTimeout(checkhtmldeletehtml,20000); } } " . $onecommand . " PHP Linux diff file differences ... RJM Programming November 2013 \n"; echo ""; echo ""; echo $mx . ""; if ($lastonetodelete != "") { exec("sleep 8; rm -f " . $lastonetodelete); $lastonetodelete=""; } } ?>