<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000980" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000980</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/search-redirect#comment-1004154</link>
    <description> &lt;p&gt;Like this ?  &lt;a href=&quot;http://www.ten-tenths.com/search/&quot; class=&quot;bb-url&quot;&gt;http://www.ten-tenths.com/search/&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;This is a slighlty modified (though not yet operational) version of a script from &lt;a href=&quot;http://www.technotrade.com/cgi/engines/&quot; class=&quot;bb-url&quot;&gt;http://www.technotrade.com/cgi/engines/&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Feb 2000 00:19:00 +0000</pubDate>
 <dc:creator>Craig Antill</dc:creator>
 <guid isPermaLink="false">comment 1004154 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/search-redirect#comment-1004153</link>
    <description> &lt;p&gt;hi,&lt;br /&gt;
 i tried with this small perl code,&lt;br /&gt;
but it doesnt take the query ($q) variable...&lt;/p&gt;
&lt;p&gt;it go to the different serach script but it doesnt put the query (the search word) behind the cgi script...&lt;/p&gt;
&lt;p&gt;it returns with&lt;br /&gt;
/sr/cgi-bin/search.cgi?query=&lt;/p&gt;
&lt;p&gt;it doesnt accept the $q variable  &lt;/p&gt;
&lt;p&gt;I hope someone can help me.....&lt;/p&gt;
&lt;p&gt;this is my code&lt;br /&gt;
++++++++++++++++++++&lt;/p&gt;
&lt;p&gt;#!/usr/local/bin/perl&lt;br /&gt;
#################&lt;/p&gt;
&lt;p&gt;if ($ENV{&quot;REQUEST_METHOD&quot;} eq &#039;GET&#039;) { $buffer = $ENV{&#039;QUERY_STRING&#039;}; }&lt;br /&gt;
else { read(STDIN, $buffer, $ENV{&#039;CONTENT_LENGTH&#039;}); } &lt;/p&gt;
&lt;p&gt;@pairs = split(/&amp;amp;/, $buffer); &lt;/p&gt;
&lt;p&gt;foreach $pair (@pairs) {&lt;br /&gt;
($name, $value) = split(/=/, $pair); &lt;/p&gt;
&lt;p&gt;$value =~ tr/+/ /;&lt;br /&gt;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(&quot;C&quot;, hex($1))/eg; &lt;/p&gt;
&lt;p&gt;$FORM{$name} = $value;&lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;$q = $form{&#039;query&#039;};&lt;br /&gt;
$urltl = &quot;/sr/cgi-bin/search.cgi?query=$q&quot;;&lt;br /&gt;
$urlweb = &quot;/cgi-bin/alta/plebiusvista.pl?q=$form{&#039;query&#039;}&quot;;&lt;/p&gt;
&lt;p&gt;if ($FORM{&#039;rd&#039;} eq &#039;tl&#039;)&lt;br /&gt;
{&lt;br /&gt;
print &quot;Location: $urltl\n\n&quot;;&lt;br /&gt;
exit;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;if ($FORM{&#039;rd&#039;} eq &#039;web&#039;)&lt;br /&gt;
{&lt;br /&gt;
print &quot;Location: $urlweb\n\n&quot;;&lt;br /&gt;
exit;&lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;+++++++++++++++&lt;/p&gt;
&lt;p&gt;------------------&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Feb 2000 14:48:00 +0000</pubDate>
 <dc:creator>kumanan</dc:creator>
 <guid isPermaLink="false">comment 1004153 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/search-redirect#comment-1004152</link>
    <description> &lt;p&gt;The only thing I can think of is to combine the two scripts. Or make some sort of JavaScript setup that will open 2 windows with 1 mouse click.&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Feb 2000 14:23:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004152 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
