6,13d5 < function qi($incis) { < if (strpos($incis, " ") !== false) { < return '"' . $incis . '"'; < } < return $incis; < } < < $htmlis=""; 62,124d53 < if (isset($_POST['donothing']) || isset($_GET['donothing'])) { // Do nothing < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

"; < } else if (isset($_POST['cmd']) && isset($_POST['infile']) && isset($_POST['outfile'])) { // Perform rename < if (strpos(strtoupper(('' . PHP_OS)), "WINDOW") !== false && strpos($_SERVER['SERVER_NAME'],"rjmprogramming.com.au") === false) { < < if (file_exists(urldecode($_POST['infile']))) { < if (!file_exists(urldecode($_POST['outfile']))) { < if (strpos("~" . str_replace("mv ", "rename ",urldecode($_POST['cmd'])), "~rename " . urldecode($_POST['infile']) . " ") !== false) { < exec(urldecode($_POST['cmd'])); < if (file_exists(urldecode($_POST['outfile']))) { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

" . urldecode($_POST['cmd']) ."
rem Command successful

"; < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but the following command does not work ... " . urldecode($_POST['cmd']) ."

"; < } < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but cannot do " . urldecode($_POST['cmd']) . "

"; < } < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but " . urldecode($_POST['outfile']) . " already exists.

"; < } < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, btt " . urldecode($_POST['infile']) . " does not exist.

"; < } < < } else if (strpos(strtoupper(('' . PHP_OS)), "WINDOW") !== false) { < exit; < } else if (strpos($_SERVER['SERVER_NAME'],"rjmprogramming.com.au") === false) { < < if (file_exists(urldecode($_POST['infile']))) { < if (!file_exists(urldecode($_POST['outfile']))) { < if (strpos("~" . str_replace("mv ", "rename ",urldecode($_POST['cmd'])), "~rename " . urldecode($_POST['infile']) . " ") !== false) { < exec(urldecode($_POST['cmd'])); < if (file_exists(urldecode($_POST['outfile']))) { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

" . urldecode($_POST['cmd']) ." # Command successful

"; < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but the following command does not work ... " . urldecode($_POST['cmd']) ."

"; < } < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but cannot do " . urldecode($_POST['cmd']) . "

"; < } < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but " . urldecode($_POST['outfile']) . " already exists.

"; < } < } else { < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 <

Sorry, but " . urldecode($_POST['infile']) . " does not exist. after " . urldecode($_POST['cmd']) . "

"; < } < < } else { < exit; < } < < } 126,257c55 < if ($htmlis == "") { // Analyze < $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 < < --- > $htmlis="Rename to Aid Sorting Candidates - RJM Programming - April, 2018 261,262d58 < <
266c62 < Existing Filename
in " . str_replace($putthisback,"",$dprefix) . "
satisfying " . $putthisback . $asteriskybit . "Could Rename to Aid
With Numerical File SortsMake That Happen?
"; < $htmlis=str_replace(" $newf=""; 413c177 < $htmlis=str_replace("","\n" . $putthisback . $fileis[$recnt] . "" . $newf . "" . $newcb . "\n",$htmlis); --- > $htmlis=str_replace("","\n" . $putthisback . $fileis[$recnt] . "" . $newf . "\n",$htmlis); 416,418d179 < } < <