in reply to File extension --

Hi!

You shouldn't put a space between the filename and the extension, the correct code is:

$bar = ".txt"; $date = $date.$bar;

Also, if you ae opening a file for writing you should use the > charachter:

open(INF,">$date") or dienice("Ej ....datum! $date: $! \n");

Is dienice() a function you defined somewhere?

As a last thing, I suggest you use CGI to parse form input.

Michele.