Zend
200-710 · Question #98
200-710 Question #98: Real Exam Question with Answer & Explanation
Sign in or unlock 200-710 to reveal the answer and full explanation for question #98. The question stem and answer options stay visible for context.
Question
When retrieving data from URLs, what are valid ways to make sure all file_get_contents calls send a certain user agent string? (Choose 2)
Options
- A$default_opts = array("http"=>array("user_agent"=>"My Cool Browser")); $default = stream_context_set_default($default_opts);
- Bstream_context_set_option("user_agent", "My Cool Browser");
- Cini_set('user_agent', "My Cool Browser");
- Dstream_context_set_option($context, "http", "user_agent", "My Cool Browser");
Unlock 200-710 to see the answer
You've previewed enough free 200-710 questions. Unlock 200-710 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.