1.

What gives the full path to CGI script?(a) script_filename(b) script_name(c) server_name(d) request_methodThis question was addressed to me in an interview.Origin of the question is CSS Transition, Perl cgi Programming in division CGI Programming & Miscellaneous of CSS

Answer»

The correct answer is (a) script_filename

To elaborate: script_filename gives the FULL path to the CGI SCRIPT, script_name gives the name of the CGI script, server_name gives the SERVER’s HOSTNAME or IP address, request_method is the method used to make the REQUEST, the most common methods are GET and POST.



Discussion

No Comment Found

Related InterviewSolutions