Help for this page

Select Code to Download


  1. or download this
    
    # A simple HTTP request parser to emulate ASP request.xxx<
    ...
        
        return \%vars;
    }
    
  2. or download this
    use CGI ':standard';
    print "Content-type: text/html\n\n";
    ...
    
            print "<p><b>Key:</b> $name <b>Value(s):</b> @values";
            }
    
  3. or download this
    $request = getHTTPData();
    
    print "<br> fromtime is ". $request->{"fromTime"};
    
  4. or download this
    for each fld in request.form
    # do stuff with the name and value
    next
    
  5. or download this
    foreach fld in formdata{
    
    make a variable named $fld  have a value of $value
    
    }