Hi, I have a little script on my site that runs a dropdown menu. Works great, but it runs on every page and on every page the menu starts with its original position, so with nothing dropped down. Can't I make it that the dropdown from the last page remains dropped down? This is the script...
Hi all,
I'm creating a meta-search engine which stores the spidered text in a database. Of course, this takes a lot of space. When I started I had a MyISAM storage engine that became 185 mb as size. Then my database (also all my other tables) started to fail. I guess the database was too big...
Hi all,
with the searchfunction on my website my script breaks up the results into pages with 10 results. You can click the other pagenumbers to visit the next pages. Now the problem is when I have for example 200 results, it will show the pagenumbers 1 till 20. That's not so good, I only want...
For a searchfunction on my site, I use the LIKE-method to get the right information out of my database. I've broken up the searchterm into apart words, and they have become the $ucTerms variables.
if (!$ucTerms[1]){
my $sth = $dbh->prepare("SELECT * FROM metalink WHERE `inhoud` LIKE...
Hi all,
I've a searchfunction for a part of the database which is (most of the times) a large amount of text. The searchfunction works great but I only want to parse out the part of the text where the searchwords are found in. That also works for a one word-search, when I use this code:
my...
Hi all,
In a script of mine I have an url catched in a variable. Then, for custom url's, to let the script run well, I have to remove a part of it. I use the next code for that:
my $fout1 = "web/show"; # This is the part of the url I want to remove, $ol_info[1] is the url
if($ol_info[1] =~...
Hi all,
I've designed a simple spider for a search engine, which works like this:
$url = $q->param("url");
$sp_url = $url;
$content = get($url);
$modifylink = 'new';
if ($content) {
#Get the title
$content =~ /<title>(.*)<\/title>/ig;
$sp_title = $1;
$sp_title =~ s/\"//g...
Hi all,
I've tried to include a perl-file while running another perl-file. First of all I don't know if it works and if I've used the require-function the right way:
require "/home/admin/domains/zoekmach1ne.nl/public_html/MTS4/cgi/nph-testsearch.cgi";
The reason why I don't know if this...
Hi guys,
I have a maybe strange question. I have some experience with perl, but not with perl modules (the .pm-files). I have a script that searches my database (search.cgi) and I have a script that gets search results from other sites, but that is a perl-module.
Now I want the 2 results (from...
Dear people,
I can buy a script which is written in FCGI, but I want to get the result together in one file, which is a CGI-file.
I don't have any experience with FCGI, but only with CGI. Can anyone tell me if those two languages are simular in any way and if those two can by combined in one...
Hi all,
I have a searchfunction in perl on my website, and when visitors use this function, it will use the file linkbuild1.pl. Now, I have this code on the file linkbuild1.pl:
$description = $linkinfo[7];
foreach $line (@searchterms) {
$description =~ s/$line/<b>$line<\/b>/ig;
}
It...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.