in reply to User linking and thepen search
Working patch for #2 (but maybe not ideal).
<form action="./google.cgi" method="get" enctype="application/x-www-form-urlencoded"> Search The Monastery pages via <a href="http://www.google.com">Google</a>™ <input type="text" name="search_google" onmouseover="this.focus()" style="width:15em;" /> <input type="submit" value="Go" /> </form>
use CGI; use URI::Escape; use Socket qw(:crlf); my $q = CGI::param('search_google') . ' site:perlmonks.thepen.com'; $q = uri_escape( $q ); print "Location: http://www.google.com/search?q=$q", CRLF, CRLF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: User linking and thepen search (fixed)
by tye (Sage) on Jul 28, 2004 at 06:17 UTC | |
by Your Mother (Archbishop) on Jul 28, 2004 at 06:42 UTC |