in reply to Re: What are best practices for Fast CGI nowadays?
in thread What are best practices for Fast CGI nowadays?
Ok, thanks. I've seen that and pretty much anything similar that can be found with Startpage.com. I can get the environment variables with FCGI no problem.
... HTTP_CONTENT_TYPE = application/x-www-form-urlencoded ...
I'm still left wondering how to get at the form data. I'd like the FCGI equivalent of ->params from old, slow CGI to get the idea behind FCGI.
use CGI; my $q = CGI->new; # Process an HTTP request my @values = $q->multi_param('form_field'); my $value2 = $q->param('param2_name');
It has to be Fast CGI because that is the API used by nginx and OpenBSD's httpd.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: x-www-form-urlencoded
by Anonymous Monk on Mar 21, 2018 at 22:02 UTC | |
by mldvx4 (Hermit) on Mar 22, 2018 at 12:14 UTC | |
by karlgoethebier (Abbot) on Mar 23, 2018 at 12:28 UTC |