Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 6 Question 33 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 33
Topic #: 6
[All 200-710 Questions]

You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your page layout. Which function do you apply to the text, when displaying it? (Choose 2)

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

0/2000 characters
Thaddeus
5 months ago
No way, htmltidy() doesn't fit this scenario!
upvoted 0 times
...
Vinnie
5 months ago
Isn't showhtml() a thing? I'm not sure about that.
upvoted 0 times
...
Tijuana
5 months ago
Wait, can you really use strip_tags() here?
upvoted 0 times
...
Rikki
5 months ago
I think htmlspecialchars() is also a must!
upvoted 0 times
...
Dyan
5 months ago
Definitely need htmlentities() for that!
upvoted 0 times
...
Tyisha
6 months ago
I vaguely remember `htmltidy()` being mentioned, but I don't think it's for this purpose. It seems more like a cleanup tool.
upvoted 0 times
...
Rory
6 months ago
I feel like `htmlspecialchars()` is definitely one of the functions we should use, but I can't recall if `htmlentities()` is the other one.
upvoted 0 times
...
Tashia
6 months ago
I think `strip_tags()` is meant to remove HTML, but we want to display it safely, right? So that might not be the right choice.
upvoted 0 times
...
Kristine
6 months ago
I remember we discussed how to safely display user input in class, but I'm not sure if it's `htmlentities()` or `htmlspecialchars()` that we need.
upvoted 0 times
...
Rosann
6 months ago
I'm not entirely sure about this one. I'll make my best guess, but I might need to come back to it if I have time at the end.
upvoted 0 times
...
Thersa
6 months ago
I think the answer is A. The question specifically asks about the Cisco Meeting Server REST API, and the /activecalls resource seems like the most logical choice to retrieve active call information.
upvoted 0 times
...
Lonna
6 months ago
Hmm, I'm not entirely sure about this one. I'll need to think it through carefully and review my notes to make sure I get the right answer.
upvoted 0 times
...

Save Cancel