str =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord())/seg;
$str can now be passed in the query string safely, for example:
LINK
Likely, "page_given_string.php" will want to decode $str back into something useful:
$str =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex())/seg;
$str can now be passed in the query string safely, for example:
LINK
Likely, "page_given_string.php" will want to decode $str back into something useful:
$str =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex())/seg;
回复Comments
{commenttime}{commentauthor}
{CommentUrl}
{commentcontent}