I am writing a CGI that grabs a data stream from a form and writes it to a file. I
want it to write it to a seperate file every time it executes so I decided to just use
the time to be the filename.
I am trying to put all of these files into a folder called tchorders
$ofile="tchorders:".time();
open (OUT, ">>$ofile") || die "SERVER ERROR!";
What is wrong with this peice of code. I am stumped? I get "SEVER ERROR"
instead of a file creation. The folling works ok, but doe not put it into the
seperat directory.
$ofile=time();
open (OUT, ">>$ofile") || die "SERVER ERROR!";