manishrathi
Programmer
When a web server receives an HTTP request directed to CGI script, it reads the headers and passes the content body of message to CGI script on STDIN."
To pass a parameter from cmd line, we use <stdin>. In the cgi script, I did not use <stdin> anywhere in the script, so how will parameter be passed ? At what point does <stdin> come in picture in the cgi script ? Is it in the beginning ? Can you pls explain this with example ?
To pass a parameter from cmd line, we use <stdin>. In the cgi script, I did not use <stdin> anywhere in the script, so how will parameter be passed ? At what point does <stdin> come in picture in the cgi script ? Is it in the beginning ? Can you pls explain this with example ?