[ale] Transferring a variable

Alex LeDonne aledonne.listmail at gmail.com
Wed Aug 15 14:14:59 EDT 2007


You must URL-encode $transfer before you output it in the page. I.E.
blanks become %20.

In perl, you need to use the URI::Escape module.

-A

On 8/15/07, Terry Bailey <terry at bitlinx.com> wrote:
>
>
>
>  Hi,
>
>  I am using the following code in a Web page generated on-the-fly by a cgi
> Perl script.
>
>  <a href =
> http://www.abcxyz.com/cgi-bin/access.cgi?$transfer>$name</a
> >
>
>  In am running Cygwin on Windows Server 2003.
>
>  I want to use the results of the transfer in $ENV{'QUERY_STRING'}.
>
>  In this case, $transfer contains a file name and sometimes this name
> contains blanks.  Is there any way to transfer the whole file name including
> blanks?
>
>
>  Thanks,
>
>  Terry Bailey
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>



More information about the Ale mailing list