hi,
bingo! jetzt hab ich den code soweit, daß ich keinen 500er-error mehr bekomme, trotzdem wird das javascript (redirect) nicht ausgeführt?
mein script sieht jetzt so aus:
(...)
sub new_file {
open(NEWFILE,">$basedir/$mesgdir/$num.$ext") || die $!;
print NEWFILE "<html>\n";
print NEWFILE " <head>\n";
print NEWFILE " <title>$subject</title>\n";
print NEWFILE " <script language='Javascript'>
<!-- redirect to framesite
if(top.location == self.location)
top.location.replace('index.htm');
//-->
</script>\n";
print NEWFILE " </head>\n";
(...)
danke!