File Download Begins.....why?
Kind of a weird situation I ran across.
When I call this function:
function test8() {
echo ("begin with");
echo $GLOBALS["glo1"];
$GLOBALS["glo1"] = '8';
return $GLOBALS["glo1"];
}
I get a file download box to pop up. So I decided to take out the first line. echo("begin with");saved the file, and then closed and reopened my browser. The function worked and I was happy. Trying to figure out why this happened I added the line back in and hit refreash. The screen displayed "begin with 8" or begin with 18 as my origninal value was 1. Puzzleing me further I continued this vicous cycle for a while and can't figure out why it's doing this.
Could someone shed some light on it?
-----------------
Andrew J. Nowicki
|