Re: Using Perl/ASp to Write to textfile

2002-04-02 Thread dan61psu
Josh, thanks alot for that pointer. i added the exception part into the open command, and got an error output. It says that permission was denied for writing to that file, so I am assuming this means that i have to look into permissions and all with chmod and chown? Thanks alot for your h

Re: Using Perl/ASp to Write to textfile

2002-04-02 Thread Joshua Chamas
dan61psu wrote: > ... > <% if(%{$Request->{Form}}) > { > my $filename="notes.txt" > > if(open(ADDFILE, ">> $filename")) > { > print (ADDFILE $Request->Form('name') ); > close(ADDFILE); > } > } > %> > Try something more like this: <% if