File upload problem

2002-11-27 Thread Stelian Iancu
Hello! I have a simple form with a file upload field. Then, I want to save the uploaded file into a directory. So here it the code: #!/usr/bin/perl use strict; usw warnings; use CGI; my $q = new CGI; my $filename = $q->upload('fisier'); my $buffer; open (OUTFILE, ">>/test/$filename"); while (

Re: Guestbook script problem

2002-11-27 Thread Ovid
--- Mystik Gotan <[EMAIL PROTECTED]> wrote: > Hi. > > I'm a young (14, dutch) Perl Programmer (or so however you may call, some > call me, some might don't ;)). Anyway, I'm getting a 500 error on my script. > I changed some things, like print content type in subs, and I put the HTML > form in t

Guestbook script problem

2002-11-27 Thread Mystik Gotan
Hi. I'm a young (14, dutch) Perl Programmer (or so however you may call, some call me, some might don't ;)). Anyway, I'm getting a 500 error on my script. I changed some things, like print content type in subs, and I put the HTML form in the script. But no changes for the ISE error. Hope you gu