advertisement

Hack:   Encode Text for URLs
Subject:   Encoding HASH(#) in qurystring
Date:   2003-12-26 01:52:01
From:   anonymous2
I was trying to pass value of my key containing hash chatacter.


eg.
http://mymachine/cgi-bin/check.cgi?code=abc#123


But it was only receiving first part of the value, before #
that is
code=abc


so i was very frustrated and
the problem was not getting solved.


When i got the result from this site,


use Time::Local;
my $code = uri_escape($code);


i am very happy now.
Thats great!!