1.

Which of the following global variables is used to get parameters?(a) $HTTP_GET_VAR[](b) $HTTP_GET_VARS()(c) $HTTP_GET_VARS(d) $HTTP_GET_VARS[]I have been asked this question during a job interview.Question is from External JavaScript and PHP topic in portion Caching, Debugging and Animation of JavaScript

Answer»

The correct answer is (d) $HTTP_GET_VARS[]

Explanation: The global variable $HTTP_GET_VARS[] is used to GET PARAMETERS. $HTTP_GET_VARS CONTAINS the same initial information, but is not a SUPERGLOBAL.



Discussion

No Comment Found

Related InterviewSolutions