[ic] Creating new forms - SOLVED

Michelle Wilant interchange-users@interchange.redhat.com
Wed Jan 16 23:43:00 2002


Let's see...In my two days :) I found out that I could do a new form 
like this...

http://your.store.com/cgi-bin/storename/searchresult.html?keyword=foo

Then, in my searchresults.html page I use ....

[cgi keyword]

and for more fun...you can do all kinds of fun perl things by...

[perl]
       
        I'd also suggest adding Jon Jensen's line from an earlier email;

	$CGI->{keyword} =~ s/[^\s\w.#%-]//g;

        $keyword = $CGI->{keyword};
        more perl fun stuff goes here

        don't forget to return your values, boys and girls
        return  $CGI->{s} = $q;  (a single value)
        or
        push(@return, $CGI->{$newcgi} = $key);
        return (@return);   (this is all of the value strings, pushed 
into an array and the array is returned)
       
[/perl]

Alma Nuker wrote:

>Hi guys,
>
>Finally I did manage to make it work.
>
>It took me (only) two days ............ :)))
>
>Thank you all for your help.
>
>
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>.
>