greedyzebra
Technical User
Why can I not receive POSTed form results via stdin? The first line of my C++ program is: cin >> buffer; The program just hangs. I've also used fgets(buffer, 255, stdin);, but have the same result.
Also, I'm new to CGI and in all of the reference materials I've recently consulted tell me that information submitted with the GET method should come into a C++ program via argv[1]. However, I never receive more than one command line argument.
One suggestion was the permissions on the folder containing the .exe, but the current config on that is that "Everyone" has "Full Control."
I've had this problem on three servers, two running on Windows, the other Unix.
I've received a few responses to this exact thread in the CGI forum, but wanted to post it here, too, since I'm coding in C++.
TIA,
Tom
Also, I'm new to CGI and in all of the reference materials I've recently consulted tell me that information submitted with the GET method should come into a C++ program via argv[1]. However, I never receive more than one command line argument.
One suggestion was the permissions on the folder containing the .exe, but the current config on that is that "Everyone" has "Full Control."
I've had this problem on three servers, two running on Windows, the other Unix.
I've received a few responses to this exact thread in the CGI forum, but wanted to post it here, too, since I'm coding in C++.
TIA,
Tom