[insert_php]
$outputurl = htmlspecialchars($_GET[“file”]);
if($outputurl==”demo”)
{
echo “Below are two pictures showing a webcam snapshot and an output spectrum. The pictures will load after the measurement is completed, please wait while the pictures load.
“;
echo “
“;
echo “
“;
}
else
{
$outputtemp = str_replace(array(“dat”,”csv”),”jpg”,$outputurl);
$outputphoto = str_replace(“output”,”photo”, $outputtemp);
$outputspec = str_replace(“output”,”spec”, $outputtemp);
echo “Please download the output data file after the pictures below have loaded, indicating that the measurement has completed. Link to data file
“;