5,38d4 < //if (strpos($_SERVER['SERVER_NAME'], 'rjmprogramming.com.au') !== false) { < // header('Location: https://65.254.95.247/PHP/Geographicals/diff.php?' . $_SERVER['QUERY_STRING']); < // exit; < //} < < //if (isset($_GET['fgc'])) { < // echo file_get_contents('http://www.rjmprogramming.com.au/PHP/Geographicals/diff.php?' . explode('&fgc=', $_SERVER['QUERY_STRING'])[0]; < // exit; < //} < < $kshhelper=$_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'PHP' . DIRECTORY_SEPARATOR . 'Geographicals' . DIRECTORY_SEPARATOR . 'dfollowup.ksh'; < < if (isset($argv)) { // command line < $numargs = sizeof($argv); < for ($ii=0; $ii<$numargs; $ii++) { < $thelabel=explode('=', $argv[$ii])[0]; < $thevalue=substr($argv[$ii], (strlen($thelabel) + 1)); < $_GET[$thelabel]=$thevalue; < } < } else if (('' . $_SERVER['QUERY_STRING']) != '' && strpos( str_replace('zeJUNKro','one', ('' . $_SERVER['QUERY_STRING'])), 'one=') !== false) { < $argswillbe=''; < foreach ( $_GET as $key => $value ) { < if ($argswillbe == '') { < $argswillbe.=' sra=' . urlencode(server_remote_addr()); < } < $argswillbe.=' ' . $key . '=' . $value; < } < //echo 'php ' . dirname(__FILE__) . '/diff.php' . $argswillbe; < //exit; < //$aaa=file_get_contents('http://www.rjmprogramming.com.au/PHP/Geographicals/diff.php?' . $_SERVER['QUERY_STRING']); < //echo shell_exec('php ' . dirname(__FILE__) . '/diff.php' . $argswillbe); < //exit; < } < 167,168d132 < //echo "OOPS"; < //exit; 177,182c141 < //echo "OoPS"; < //exit; < //$legend=' New additional Changed single line New block of lines Deleted lines Changed multiple lines ' + " . 'window.atob(' . "'" . trim(base64_encode(file_get_contents("huh" . server_remote_addr() . ".huh"))) . "'" . ') + ' . "''" . '); wod.document.title=document.URL; " style=text-decoration:underline;cursor:pointer; title="If colour coding showing (just below) clicking here shows you original difference report (but empty until then).">Original ...'; < $legend=' New additional Changed single line New block of lines Deleted lines Changed multiple lines ' + " . 'window.atob(' . "'" . trim(base64_encode(ourfile_get_contents("huh" . server_remote_addr() . ".huh"))) . "'" . ') + ' . "''" . '); wod.document.title=document.URL; " style=text-decoration:underline;cursor:pointer; title="If colour coding showing (just below) clicking here shows you original difference report (but empty until then).">Original ...'; < //echo "OoPS9"; < //exit; --- > $legend=' New additional Changed single line New block of lines Deleted lines Changed multiple lines ' + " . 'window.atob(' . "'" . trim(base64_encode(file_get_contents("huh" . server_remote_addr() . ".huh"))) . "'" . ') + ' . "''" . '); wod.document.title=document.URL; " style=text-decoration:underline;cursor:pointer; title="If colour coding showing (just below) clicking here shows you original difference report (but empty until then).">Original ...'; 219,220d177 < //echo "ooPS"; < //exit; 278,279c235 < global $legend, $mx, $onecommand, $style, $kshhelper; < $kshcont=''; --- > global $legend, $mx, $onecommand, $style; 285d240 < 287,320d241 < //echo "HeReEIgHT " . $parts[1]; < //exit; < if ('nophpexec' == 'noJUNKphpexec') { < if (file_exists(trim($parts[1]))) { < unlink(trim($parts[1])); < } < < if (file_exists($kshhelper)) { < $his = fopen($kshhelper, "r"); < $kshcont = fread($his, filesize($kshhelper)); < fclose($his); < if (strpos($kshcont, "rm -f " . $kshhelper) === false) { < $kshcont.="\nrm -f " . $kshhelper . "\nexit"; < } < } else { < $kshcont="#!/bin/ksh\nrm -f " . $kshhelper . "\nexit"; < } < < $kshcont=str_replace("\nrm -f " . $kshhelper, "\n" . $incm . "\nrm -f " . $kshhelper, $kshcont); < file_put_contents($kshhelper, $kshcont); < < while (!file_exists(trim($parts[1]))) { < sleep(3); < } < < $his = fopen(trim($parts[1]), "r"); < $outrepis = fread($his, filesize(trim($parts[1]))); < fclose($his); < //echo "HereEIgHT " . $parts[1]; < //exit; < < } else { < //echo "HereEigHT " . $parts[0]; < //exit; 322,323d242 < } < 467,468d385 < //echo "oOps"; < //exit; 477,478d393 < //echo "oOpxs"; < //exit; 483,484d397 < echo "oOpxs23"; < exit; 506,508d418 < if (isset($_GET['sra'])) { < return str_replace('+',' ',urldecode($_GET['sra'])); < } 604,605d513 < //echo "oops76"; < //exit; 631,632d538 < //echo "oOpsM"; < //exit; 635,636d540 < //echo "oOpsM"; < //exit; 647,648d550 < //echo "oOpsMx"; < //exit; 662,663d563 < //echo "oOpsMq"; < //exit; 666,667d565 < //echo "oOpsMz"; < //exit; 678,683c576 < //echo "oOpsMp"; < //exit; < //file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/two.html', str_replace("~!@#","
",str_replace('>','>',str_replace('<','<',str_replace("\n","~!@#",file_get_contents($_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au',$oneis)[1])))))); < file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/two.html', str_replace("~!@#","
",str_replace('>','>',str_replace('<','<',str_replace("\n","~!@#",ourfile_get_contents($_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au',$oneis)[1])))))); < //echo "after oOpsMp"; < //exit; --- > file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/two.html', str_replace("~!@#","
",str_replace('>','>',str_replace('<','<',str_replace("\n","~!@#",file_get_contents($_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au',$oneis)[1])))))); 701,702d593 < //echo "oOpsMv"; < //exit; 715,716d605 < //echo "oOpsMp98"; < //exit; 732,733d620 < //echo "oOpsM1"; < //exit; 736,737d622 < //echo "oOpsM2"; < //exit; 749,752c634 < //echo "oOpsM3"; < //exit; < //file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/one.html', str_replace("~!@#","
",str_replace('>','>',str_replace('<','<',str_replace("\n","~!@#",file_get_contents($_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au',$oneis)[1])))))); < file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/one.html', str_replace("~!@#","
",str_replace('>','>',str_replace('<','<',str_replace("\n","~!@#",ourfile_get_contents($_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au',$oneis)[1])))))); --- > file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/one.html', str_replace("~!@#","
",str_replace('>','>',str_replace('<','<',str_replace("\n","~!@#",file_get_contents($_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au',$oneis)[1])))))); 840,850d721 < //echo "oOpsMp99"; < //exit; < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return ofinterest($cis); //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } < //echo "oOpsMp99x"; < //exit; 854,864d724 < //echo "oOpsMp9967"; < //exit; < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } < //echo "oOpsMp99z"; < //exit; 869,879d728 < //echo "oOpsMp994"; < //exit; < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return ofinterest($cis); //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } < //echo "oOpsMp99zz"; < //exit; 882,908d730 < //echo "oOpsMp9943"; < //exit; < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } < if (file_exists(dirname(__FILE__) . '/' . $inuis) && strpos($inuis, '/') === false) { < $fis = dirname(__FILE__) . '/' . $inuis; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } else if (file_exists($inuis) && strpos($inuis, '/') !== false) { < //echo "Oopsx89814 " . $inuis; < //exit; < $fis = $inuis; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < //echo "Oopsx89814 " . strlen($cis); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } else if (strpos($inuis, '/') === false) { < return ''; < } 915,934c737 < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < // echo "OopS " . 'cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < // exit; < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } else { < //echo "Oops " . $inuis; < //exit; < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } < return file_get_contents("http:" . $inuis); < } --- > return file_get_contents("http:" . $inuis); 936,964d738 < //echo "oops"; < //exit; < if (strpos($inuis, 'rjmprogramming.com.au/') !== false) { < $fis = $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } < if (file_exists(dirname(__FILE__) . '/' . $inuis) && strpos($inuis, '/') === false) { < $fis = dirname(__FILE__) . '/' . $inuis; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } else if (file_exists($inuis) && strpos($inuis, '/') !== false) { < //echo "Oops89814 " . $inuis; < //exit; < $fis = $inuis; < $his = fopen($fis, "r"); < $cis = fread($his, filesize($fis)); < fclose($his); < //echo "Oops89814 " . strlen($cis); < return $cis; //shell_exec('cat ' . $_SERVER['DOCUMENT_ROOT'] . explode('rjmprogramming.com.au', $inuis)[1]); < } else if (strpos($inuis, '/') === false) { < return ''; < } < //echo "Oops8981 " . $inuis; < //exit; 1179,1180d952 < //echo "Hereeighty "; < //exit; 1182,1183d953 < //echo "Hereeight "; < //exit; 1187,1188d956 < //echo "Hereseven "; < //exit; 1193,1194d960 < //echo "oops98"; < //exit;