CGI.pm problems

2001-11-20 Thread birgit kellner
I've already posted this to [EMAIL PROTECTED], but haven't had much response, so I thought the cgi-list might be a more appropriate place (apologies for cross-posting): I want to read form data into a hash, using CGI.pm, and to take care of the following cases: - get rid of empty values - deco

file permissions

2001-11-20 Thread Wagner Garcia Campagner
Hi, I'm trying to copy a file to another preserving the file permissions (i'm using NT 4.0). I'm using use File::Copy; But when i copy a file to another the new file do not get the same permissions as the old one... I'm also trying to use syscopy ($file1, $file2); but i got no success...

taint checking uploaded file with CGI.pm

2001-11-20 Thread WaspCatcher
hi, I've had a trawl around, and can't find the answer to this question. I am getting a file uploaded via a form, and am using CGI.pm. I am reg exping all inputs but I don't know whether / how to taint check an uploaded file. tia waspcatcher -- To unsubscribe, e-mail: [EMAIL PROTECTED] For add

getting output to stdout and browser not wanted

2001-11-20 Thread Randy Higginbotham
When I do the following from a modified version of Matt Wright's FormMail.pl script: close (PGPCOMMAND); I get the following output to stdout and the browser window that I don't want: Creating output file Anyone know how to turn this off? Thanks Randal Newby -- To unsubscribe, e-mail:

RE: getting output to stdout and browser not wanted

2001-11-20 Thread Randy Higginbotham
Nevermind... $pgp_comand = "$pgp_path -r \"$pgp_public_key_user_id\" -at -o $output_file >/dev/null creates the unwanted output, and $pgp_comand = "$pgp_path -r \"$pgp_public_key_user_id\" -at > $output_file Does not. Any ideas? Randy -Original Message- From: Randy Higginbotham [ma

Cookies

2001-11-20 Thread jason
Need some help. I am looking at using cookies. For some of the things that I need to do I think that it will make my life easier. I also HAVE to use CGI qw(:cgi-lib) I am running Perl 5.6 and do not use the object oriented html function. I just want to use. print 'html'; etc.. Now to

RE: getting output to stdout and browser not wanted

2001-11-20 Thread Jan-Willem Haaring
Hi On Tue, 20 Nov 2001, Randy Higginbotham wrote: > > Nevermind... OK > > $pgp_comand = "$pgp_path -r \"$pgp_public_key_user_id\" -at -o $output_file > >/dev/null > > creates the unwanted output, and > > $pgp_comand = "$pgp_path -r \"$pgp_public_key_user_id\" -at > $output_file > > Does not. W

Re: CGI.pm problems continued

2001-11-20 Thread Scott R. Godin
In article <3852920.1006256205@[10.0.0.140]>, [EMAIL PROTECTED] (Birgit Kellner) wrote: > Sorry for being stubborn, but I' like to decode multivalued parameters > *without* identifying them by name. > That's precisely why reading multiple values into an array is not > applicable. that depends