Parent Directory
|
Revision Log
<http://koton.jp/w/6/#comment-5>
| 1 | wakaba | 1.1 | #!/usr/bin/perl |
| 2 | use strict; | ||
| 3 | |||
| 4 | print "Content-Type: text/html; charset=iso-8859-1\n\n<title>URL query of the Request-URI</title>"; | ||
| 5 | |||
| 6 | my $q = $ENV{QUERY_STRING}; | ||
| 7 | |||
| 8 | if (defined $q) { | ||
| 9 | print "<code>"; | ||
| 10 | $q =~ s/&/&/g; | ||
| 11 | $q =~ s/</</g; | ||
| 12 | print $q; | ||
| 13 | print "</code>"; | ||
| 14 | } else { | ||
| 15 | print "(null)"; | ||
| 16 | } |
| [email protected] | ViewVC Help |
| Powered by ViewVC 1.1.24 |