You have been given the following PHP script:
1.
2. $xmlstring = << 3. 4. 5. 6. 7. 8.
9.
10. XML;
11. $xml = new SimpleXMLElement($xmlstring);
12. foreach($xml->children() as $child)
13. {
14.
15. }
16. ?>
Which of the following code snippets will you insert at line number 14 to get the following output?
Which of the following is the temp late layer, where all the HTML rendering takes place, and where everything to be displayed to a user is assembled?
You have to select persons whose age is between twenty -five and forty from a database named HumanResource. Which of the following criteria will you use in the query to accomplish thetask?
Fill in the blank with the appropriate method name. The__________ method is used to convert an existing money value to a localized currency formatted output.
Which of the following is an example of a database connection that needs to be created once at the beginning of a script and then used throughout its code?
Which of the following are the methods that are used by Zend_Controller_Front? Each correct answer represents a complete solution. Choose all that apply.
Consider the PHP program (which includes a file specified by request):
$color = 'blue';
if (isset( $_GET['COLOR'] ) )
$color = $_GET['COLOR'];
require( $color . '.php' );
?>
A malicious user injects the following command:
/vulnerable.php?COLOR=C:\\notes.txt%00
Where vulnerable.php is a remotely hosted file containing an exploit. What does the malicious user want to do?
Which of the following is known as Request Object?
Which of the following are the configuration files that are used in Zend_Config?
Which of the following is an abstract class that is used to provide the basic interface and functionality required by the helper broker?
Which of the following methods of Zend_Auth returns TRUE if and only if the result represents a successful authentication attempt?
You want to set the form method in post and action to / uc/zend.php when you are using the Zend_Form class. Which of the following code snippets will you use to accomplish the task?
All of the following are the basic steps in setting up a multi -lingual site, except for which one?
Fill in the blank with the appropriate PHP function. The_________ function is used to return the sum of the values of every entry within an array.
You are using a database named SalesDB to keep all sales records. The SalesDB database contains a table named Orders. You are required to create a new t able named OldOrders and transfer all the data from the Orders table to the new table. Which of the following statements will you use to accomplish the task?
Which of the following types of content is expected by Zend_Rest_Client when using a RESTservice?
Which of the following is used to provide a tree structure onto which multiple resources can be added?
Which of the following joins retrieves all rows from one table and only the matching rows from the joined table?
Fill in the blank with the appropriate PHP function. The___________ function is used to return the sum of the values of every entry within an array.