%@ LANGUAGE = PerlScript%>
Demonstration of the Request Object's QueryString Collection
This link will demonstrate the Request object's QueryString collection.
The current value of Size is <%= $Request->querystring('Size')->item %>
The current value of Color is <%= $Request->querystring('Color')->item %>
<%
$url = $Request->ServerVariables('PATH_INFO')->item;
$_ = $Request->ServerVariables('PATH_TRANSLATED')->item;
s/[\/\\](\w*\.asp\Z)//m;
$params = 'filename='."$1".'&URL='."$url";
$params =~ s#([^a-zA-Z0-9&_.:%/-\\]{1})#uc '%' . unpack('H2', $1)#eg;
%>
Return
view the source