Mar 24, 2000, 10:47 PM
Veteran / Moderator (6956 posts)
Mar 24, 2000, 10:47 PM
Post #2 of 4
Views: 1683
The easiest thing to do is on the Search Results page, and Search Errors page, make a link to the new search script, and pass it the <%query%> parameter.
Many of us do this to link searches to the search engines or Amazon, etc.
As for automatically running a separate search script -- if that script is on your server, it's possible with a SYSTEM call, but if the script is not on your server, it's a lot easier to use the method above, than to try to trigger the script from another script.
You might be able to use the redirect command to send the browser to the new URL, but you'll be sending them off your site unless you use frames.....
print $in->redirect ($goto)
(Check the jump.cgi for some ideas)