The______ class is used to load files dynamically.
Fill in the blank with the appropriate class name. The______ class is used to load files
dynamically.
Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?
Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy
call?
What should be displayed when this script is executed?
You have given the following XML data in the tasks.XML file:
<code>
<?xml version=”1.0″ encoding=”ISO-8859-1″?>
<tasklist>
<note>
<tasks>Validate data</tasks>
<details>String Validation</details>
</note>
<note>
<tasks>Secure data</tasks>
<details>Encryption</details>
</note>
</tasklist>
</code>
Now, you run the following PHP script:
<code>
<?php
$objDOM = new DOMDocument();
$objDOM->load(“tasks.xml”);
$note = $objDOM->getElementsByTagName(“note”);
foreach( $note as $value )
{
$tasks = $value->getElementsByTagName(“tasks”);
$task = $tasks->item(0)->nodeValue;
$details = $value->getElementsByTagName(“details”);
$detail = $details->item(0)->nodeValue;
echo “$task :: $detail <br>”;
}
?>
</code>
What should be displayed when this script is executed?
Which of the following can be used as a countermeasure against the SQL injection attack?
Which of the following can be used as a countermeasure against the SQL injection attack?
Each correct answer represents a complete solution. Choose two.
What is the use of the mysql_real_ escape_string() function in the above script?
You run the following PHP script:
<code>
<?php
$name = mysql_real_escape_string($_POST[“name”]);
$password = mysql_real_escape_string($_POST[“password”]);
?>
</code>
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 statements correctly explains the behavior of Zend_Controller_Front?
Which of the following statements correctly explains the behavior of Zend_Controller_Front?
Each correct answer represents a complete solution. Choose all that apply.
Which of the following functions in SimpleXML can be used to return an iterator containing a list of all subno
Which of the following functions in SimpleXML can be used to return an iterator containing a list of
all subnodes of the current node?
________is a method to create REST server.
Fill in the blank with the appropriate method name. ________is a method to create REST server.
Which of the following functions is the best choice to retrieve the fingerprint of a string?
Which of the following functions is the best choice to retrieve the fingerprint of a string?
Which of the following steps will you use to create a multi -lingual Website?
Which of the following steps will you use to create a multi -lingual Website? Each correct answer
represents a complete solution. Choose all that apply.