ingimar
06-20-2007, 04:19 PM
I'm running a database script. I'm going to have overviewpage of many databes. I need to be able search in it. Is it possible to fetch words from the web location (script.pl?search=yes). I have been trying to use javascript and ssl for this but it is not possible. Here is what I have been trying to do:
<script language="JavaScript">
function search()
{
var paramValue;
if( paramValue=window.location.search.match(/[?&]search=(\w+)/) )
document.write('<!--#include virtual="../cgi-bin/script_n7.pl?searchwithin=');
document.write(paramValue[1]);
document.write('" -->');
}
</script>
Is there maybe a way for this to work?
or..
Is there maybe a script somewhere that can do something like this. Run many perl scripts within it (the script) on a template page and then a word could be taken from the scripts location (newscript.pl?word1=hello&word2&world) and put into the location of the script that is beeing runned?
<script language="JavaScript">
function search()
{
var paramValue;
if( paramValue=window.location.search.match(/[?&]search=(\w+)/) )
document.write('<!--#include virtual="../cgi-bin/script_n7.pl?searchwithin=');
document.write(paramValue[1]);
document.write('" -->');
}
</script>
Is there maybe a way for this to work?
or..
Is there maybe a script somewhere that can do something like this. Run many perl scripts within it (the script) on a template page and then a word could be taken from the scripts location (newscript.pl?word1=hello&word2&world) and put into the location of the script that is beeing runned?