From: Ryan W. M. <ry...@gu...> - 2001-02-07 18:29:49
|
There are two types of requests used in this case (I assume you're familiar with them): GET and POST. GET will pass the key/value pairs in on the request line, ie http://www.myhost.com/cgi-bin/this.cgi?user=rwm&pass=test This is trivial to parse out. However, POST will pass the key/value pairs in the environmental variable QUERY_STRING. It appears like the code is appending this to the already existing %in hash. Kinda odd, I'm sure Jamie can shed some more light on this. I hope this sheds some light on your problem. If you need any more detail let me know. Cheers, Ryan +-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --+ Ryan W. Maple "I dunno, I dream in Perl sometimes..." -LW Guardian Digital, Inc. ry...@gu... +-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --+ On Wed, 7 Feb 2001, John Reynolds wrote: > Hi all, > > I recently upgraded web-lib.pl on a project that I am > working on and suddenly my posting of data goes arseways. > > Offending function is ReadParse. Can anybody tell me what > this is line is doing ? > if ($in) { $in .= "&".$ENV{'QUERY_STRING'}; } |