$val) { $$thing = trim($val); if (isset($trace)) {echo "Put $thing = \"$val\"
" ;} } foreach($_POST as $thing => $val) { $$thing = trim($val); if (isset($trace)) {echo "Posted $thing = \"$val\"
" ;} } $errorLogfile="error_log"; $errors = "Error Log File
"; $cmd = "tail -n $lines $errorLogfile"; echo("\$lines=[$lines] . . \$cmd is [$cmd]
"); $errors .= shell_exec($cmd); echo nl2br($errors); ?>