Examveda
Examveda

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. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

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:

This Question Belongs to Javascript >> Sockets

Join The Discussion

Related Questions on Sockets