Programming - PHP
11.
Which of the following can be used to get data sent via get or post method in PHP ?
Answer
$_REQUEST contains values passed by post, get and/or cookies.
Answer :
Option AExplanation :
$_REQUEST contains values passed by post, get and/or cookies.
12.
Which one of the following function is used to send an e-mail using PHP script ?
Answer
Answer :
Option A14.
Which one of the following is not a valid class name ?
Answer
The class name can be any valid label, provided it is not a PHP reserved word. A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.
Answer :
Option DExplanation :
The class name can be any valid label, provided it is not a PHP reserved word. A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.
15.
Function used to remove whitespace from the start of the string :
Answer
rim() function removes whitespace or other predefined characters from the left side of a string.
Answer :
Option DExplanation :
rim() function removes whitespace or other predefined characters from the left side of a string.
Jump to page number :