YOOHOO! it works.
well, just for other peeps to know, yeah even without that underscore after "Location:" (god knows how it got there) it gave me the same error, but this corrected it:
header("Location:".$HTTP_SERVER_VARS['HTTP_REFERER']);
I just needed to add this dot thing before the HTTP var (who invented this language? what were they thinking about using a dot in coding lingo. It's so easy to miss).
...but then Safari was "bitching" and didn't wanna open the page, saying that it brings up "null" or something, but of course kburger is there for the rescue! so forget about apache-specific variables, changing it to $_SERVER did the magic!
(hoping that it'll work in all other browsers as well. I'm scared to check... ;-)
This is so new to me.
Thanks a million. 😃