1.

What is the purpose of the file_get_contents()?(a) To get the errors and exceptions(b) To get the client’s response(c) To get the server’s response(d) To get the dataI got this question in my homework.I need to ask this question from Accessing the WebPagetest API topic in section Sockets of JavaScript

Answer»

The CORRECT answer is (c) To get the server’s response

For explanation I WOULD SAY: The file_get_contents() is a PHP’s native function USED to hit the URL and read the server’s response into

a variable $wpt_response:



Discussion

No Comment Found

Related InterviewSolutions