Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the file_get_contents()?

  2. 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

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    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:


Be The First To Comment