Momo: Verweise

Beitrag lesen

Also, wenn ich Deine Antwort so lese, glaube ich, ich habe es immer noch nicht richtig erklärt :o((. Ich weiß, wie das in HTML funktioniert, aber wie ist es in diesem Fall?

Routine for 'words' search

if ($FORM{'mode'} eq "words") {  

$searchstring=$FORM{'keywords'};
  @words = split (/ /,$searchstring);
  foreach $word (@words) {
   $wordlength = length($word);
   if ($wordlength < $minword) {
    &stringshort;
   }
  }
  &heading;
  $entries = @input;
  if ($position == 0) {
   $currentline = $entries;
  } else {
   $currentline = $position;
  }
  $found="0";
  print "<CENTER><FONT $font SIZE=2><B>Suchergebnisse : </B>'$FORM{'keywords'}'<P></FONT></CENTER>";
  print "<HR WIDTH=400>";
  print "<FONT $font SIZE=2>";
  until ($found > 9 $currentline == 0) {
   foreach $word (@words) {
    if ($input[$currentline] =~ /$word/i) {
     @data = split (/::/,$input[$currentline]);
     if ($data[4] ne "") {
      if ($safekey eq "on" && $match == 0) {
       foreach $smutword (@smutwords) {
        if ($input[$currentline] =~ /$smutword/i) {
         $smut = 1;
        }
       }
       unless ($smut == 1) {
       print "<A HREF="$data[0]"><B>$data[1]</B></A><BR>";
                                  print "$data[4]<BR>";
       print "<I>$data[0]</I><P>";
       ++$found;
       ++$match;

Genau da geht das eben nicht so ohne weiteres, ähnlich ie in Java, wo ich dann eben newwin eingeben muss, möchte ich gern wissen, was ich hier eingeben muss, target="_blank" jedenfalls nicht.

Ciao Momo