Perl Monk, Perl Meditation | |
PerlMonks |
Re: SSI losing CGI parametersby jeorgen (Pilgrim) |
on Feb 02, 2001 at 13:03 UTC ( [id://55967]=note: print w/replies, xml ) | Need Help?? |
I had the same problem last week and solved it this way: You check the QUERY_STRING_UNESCAPED environment variable. It will contain the parameter list that is provided to the page, as opposed to the parameter list that is sent with your SSI. You then take away the backslashes in QUERY_STRING_UNESCAPED and force-feed it to CGI.pm (if you are using CGI.pm, that is). You may also want to check that your dealing with the same ID in the query strings, in case if you (like me) want to have several embedded cgi scripts as SSIs in one page. ID is "poll_id" in the code below:
/jeorgen
In Section
Seekers of Perl Wisdom
|
|