Hmm, that isn't exactly how you spell $cgi->param('POSTDATA')
Sorry about that. I checked my code and it's spelled correctly in my code.
What version of erlang inets ? Surely even erlang inets httpd server have version numbers :)
It's actually in the curl output I posted:
* upload completely sent off: 16 out of 16 bytes < HTTP/1.1 200 OK < Date: Fri, 09 Mar 2018 14:52:03 GMT < Server: inets/6.4.5
I'm using erlang 20.2, so I assume inets 6.4.5 is the most recent version. Thanks for taking a look.
I'm fairly certain thats the version that tries to read from STDIN. So I would suggest checking CGI.pm docs for ->new and use the version of the call that doesn't try to read from STDIN
Yep, my$q->CGI-new('') allows me to use the CGI functions after I manually read from STDIN.
In reply to Re^3: CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode
by 7stud
in thread CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |