$book = '..'?>
include "$book/mh.php"; includeHeader('', '', 'e-distpr.html#tiaooril'); ?>The Bourne shell usually runs a loop with redirected input or output in a subshell. For distprompter, this means, among other things:
Although this script doesn't need it, here's the usual fix for that problem. Use another file descriptor, like file descriptor 6, and write variable-setting commands to it. Redirect that file descriptor to a temporary file. Then, use the shell's dot command (.) to read the temporary file into the shell outside the loop. For example, to get the value of a variable named varname outside the loop:
while whatever do ... echo "varname='value'" 1>&6 ... done 6>var_set_file . var_set_file