PHP Exam
PHP Exam
PHP Exam
Answer: A
3- In brief, what is Ajax?
[There is deferent way to write about the Ajax]
4- Do you have experience with Ajax? [Yes] [No]
Answer: Preferable candidate with Ajax experience.
5- PHP is:
(A) Server-side language.
(B) Client-side language.
Answer: Correct answer is server-side.
6- What is the main advantage of Client-side programming language?
Answer: Fast response.
7- What is the below function code (fun1) use for?
<?
function fun1($X) {
if(ereg("([[:alnum:]\.\-]+)(\@[[:alnum:]\.\-]+\.+)", $X)) {
return 1;
} else {
return 0;
}
}
?>
Answer: The above code is e-mail validation function.
$get
$ask
$request
$post
Answer: B