In which of the following situations will you use the set_exception_handler() function?
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 class name.
The______ class is used to load files dynamically.
Which of the following retrieves the request URI, path, $_GET & $_POST parameters, etc. and tracks whether an action has been dispatched via Zend_Controller_Dispatcher?
Martin works as a Database Administrator for MTech Inc. He designs a database that has a table named Products. He wants to create a report listing different product categories. He does not want to display any duplicate row in the report. Which of the following SELECT statements will Martin use to create the report?
Which of the following are the limitations for the cross site request forgery (CSRF) attack?
Each correct answer represents a complete solution. Choose all that apply.
Consider the following code segment:
1. <?php
2. require_once 'Zend/Mail.php';
3. ?????????????????????????
4. $mail->setBodyText('This is the test email.');
5. $mail->setFrom('somebody@example.com', 'Sender');
6. $mail->addTo('somebody_else@example.com', 'Recipient');
7. $mail->setSubject('TestSubject');
8. $mail->send();
9. ?>
Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?
Which of the following keywords will you use to set the default timezone?
Each correct answer represents a complete solution. Choose all that apply.
You run the following PHP script:
<?php
$name = mysql_real_escape_string($_POST["name"]);
$password = mysql_real_escape_string($_POST["password"]);
?>
What is the use of the mysql_real_escape_string() function in the above script.
Each correct answer represents a complete solution. Choose all that apply.
Which of the following clauses is used to specify a column or an array of columns by which to sort?