1.
In PHP, what is the default root directory in which Apache stores its web pages? Can you change the path of the root directory?
2.
In PHP, which of the following functions is used to delete a file?
3.
In PHP, what is the default port number for the MySQL server?
4.
What is the output of the following PHP code:
<?php
$b = 1; $c = 4; $a = 5;
$d = $b + $c == $a;
print $d;
?>
5.
What is the output of the following PHP code:
<?php
function constant()
{
define("GREETING", "Welcome to New York");
echo greeting;
}
?>
6.
Which of the following PHP functions is used to remove all the HTML tags from a string?
7.
Which of the following function names are valid in PHP:
i) function()
ii) ˆ()
iii) .function()
iv) $function()
8.
In PHP, what is the fopen() function used for?
9.
In PHP, which of the following statements about the onAIREvent function is correct?
10.
In PHP, the additional interactivity mechanism is ensured by the ______________.