Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: forces1
  • Content: Threads
  • Order by date
  1. forces1

    Javascript menu must remain open

    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...
  2. forces1

    Storage Engine for large amounts of data

    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...
  3. forces1

    Pagenumbers searchresults

    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...
  4. forces1

    Using LIKE without %

    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...
  5. forces1

    Using the substr() function

    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...
  6. forces1

    Matching and Substituting part of url

    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] =~...
  7. forces1

    Spidering website

    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...
  8. forces1

    require with conditions

    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...
  9. forces1

    Getting a .cgi and a .pl together

    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...
  10. forces1

    Put CGI and FCGI in one file

    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...
  11. forces1

    substitution with capitals

    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...

Part and Inventory Search

Back
Top