%@ LANGUAGE = PerlScript%>
Response Object
Response Object
There are many ways to get information sent to a browser.
- You can use HTML!
- You can use <%="expressions" %>.
- You can use <% $Response->write("the Response object");%>.
<%
$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