I'm not sure I like this.   I honestly don't see why you
need it.   Someone said something in this thread about overhead.
Given that  METHOD=GET,  why can't  $doc  be processed  "after the
question mark"  along with  $sstr  and the rest?   So you have to have
one  "front end"  script to invoke the others.   So what?   I don't
see that as a tremendous imposition.
-- Rick Troth, <rmtroth@aol.com>, <troth@ua1vm.ua.edu>, Houston, Texas, USA