" . $_GET['infile'] . " written as Select HTML element below


\n"; if (file_exists($_GET['infile'] . "_GETME")) { unlink($_GET['infile'] . "_GETME"); } if (!file_exists($_GET['infile'] . "_GETME")) { copy($_GET['infile'],$_GET['infile'] . "_GETME"); $ihuh = strpos($_GET['infile'], "/"); //if ($ihih !== false) { //$huh = file_get_contents("file://" . $_GET['infile'] . "_GETME"); //} else { $huh = file_get_contents($_GET['infile'] . "_GETME"); //} echo '' . "\n"; echo ' var csvresult = read_the_csv ("' . str_replace("\n", '\\n', $huh) . '"); ' . "\n"; echo ' var ecsv = create_html_select (csvresult); ' . "\n"; echo ' document.body.appendChild (ecsv); ' . "\n"; echo ' var zbod = document.getElementById("xbod"); ' . "\n"; echo ' zbod.innerHTML = zbod.innerHTML + "

' . $_GET['infile'] . ' written as Table HTML element below


" + tabtxt; ' . "\n"; echo '/' . '/ }); ' . "\n \n"; } } ?>