theguru97321
IS-IT--Management
I don't know if I just have an old version of PERL or CGI.pm but I'm trying to use STDIN to decode METHOD=POST forms.
$blah = <STDIN>;
always comes back blank.
$data_length = $ENV{'CONTENT_LENGTH'};
($data_length for one script is 31)
# Read in the string
$bytes_read = read(STDIN, $blah, $data_length)
($bytes_read always equals 0, and $blah is still empty)
What could be wrong???
$blah = <STDIN>;
always comes back blank.
$data_length = $ENV{'CONTENT_LENGTH'};
($data_length for one script is 31)
# Read in the string
$bytes_read = read(STDIN, $blah, $data_length)
($bytes_read always equals 0, and $blah is still empty)
What could be wrong???