Author |
Message |
Topic: POST not working on CGI executable |
n1ist
Replies: 7
Views: 20764
|
|
Ugh. Sometimes it is the obvious that gets you. The system() call does an exec so it didn't inherit the updated environment. Using getenv() to get the REQUEST_METHOD shows that it is POST. Thanks. ... |
Topic: POST not working on CGI executable |
n1ist
Replies: 7
Views: 20764
|
|
Here's the html:
<html><head><title>survey</title></head>
<body>
<form action="http://www.ardai.org/cgi-bin/barcsurvey.exe" method="POST">
<input typ ... |
Topic: POST not working on CGI executable |
n1ist
Replies: 7
Views: 20764
|
|
I am seeing the same thing here. The form definitely has method="POST",
yet adding a system("set"); in my cgi executable shows
REQUEST_METHOD=GET
CONTENT_LENGTH=0
Any ideas what to look for?
... |
|