Re: Using $CGI::POST_MAX

2004-10-21 Thread Gunnar Hjalmarsson
Bill Stephenson wrote: I'm using this line in my script: $CGI::POST_MAX = $CGI::POST_MAX = 30720; # 30k I tested it to see if it works and it did not process the form and write the data to a file when the data entered exceeded the amount specified. That's great, but I can't find a way in Lincol

Using $CGI::POST_MAX

2004-10-21 Thread Bill Stephenson
I'm using this line in my script: $CGI::POST_MAX = $CGI::POST_MAX = 30720; # 30k I tested it to see if it works and it did not process the form and write the data to a file when the data entered exceeded the amount specified. That's great, but I can't find a way in Lincoln's book to dete

Re: Output of a command executed by system

2004-10-21 Thread Jan Eden
Hi Sean, Sean Davis wrote on 21.10.2004: >If the output is to stderr for some reason, you could try ">& >/dev/null". Sorry, there was a typo in my initial attempt to redirect. It works as expected with ">/dev/null". Thanks, Jan -- Common sense is what tells you that the world is flat. -- T

Re: Output of a command executed by system

2004-10-21 Thread Sean Davis
If the output is to stderr for some reason, you could try ">& /dev/null". Sean On Oct 21, 2004, at 7:36 AM, Jan Eden wrote: Hi, this must be simple, but I cannot seem to find it: When executing a command via system within a CGI script, the command's output appears in my browser. I do not use CGI

Output of a command executed by system

2004-10-21 Thread Jan Eden
Hi, this must be simple, but I cannot seem to find it: When executing a command via system within a CGI script, the command's output appears in my browser. I do not use CGI::Carp. How can I suppress this? I tried to redirect the output the shell way ("> /dev/null"), but that did not change a t