On Thu, 15 Dec 2005, Thom Hehl wrote: > I have a screen that is gotten to by a rather elaborate search string. I > want to put a button on that page that calls a CGI and passes it > location.href, which has all of the parameters I need to get back to > that page. The problem is, how do I do that without it mucking up the > search string with all of the ? and &s? > > Anyone?
Well perhaps I misunderstand the question, but all those ? and &s are the way cgi works. If you do not send them the cgi script will have nothing to parse (or collect) and nothing will be done. If you are worried about line wrap, then as long as there is no new line character in the string, it should be ok Also if you are worried about constructing the string, it may be best to build it up, like my $search_string = '?query='; my $first_query ='car'; my $search_string = "my $search_string$first_query"; and so on Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>