Programming - PHP

You Are Here :: Home > Programming > PHP- General Questions

 
49.

How would you start a session??                          


A. session(start); B. session();
C. session_start(); D. begin_session();




50.

What will be the output of following code? $a = 10; echo 'Value of a = $a';?                          


A. Value of a = 10 B. Value of a = $a
C. Undefined D. Syntax Error




51.

Which of the following is not true regarding XForms??                          


A. PHP provides support for XForm B. It can be used on PDF documents
C. The data is sent in XML format D. The action and method parameters are defined in the body




52.

You have defined three variables $to, $subject and $body to send an email. Which of the following methods would you use for sending an email??                          


A. mail($to,$subject,$body) B. sendmail($to,$subject,$body)
C. mail(to,subject,body) D. sendmail(to,subject,body)




53.

Which of the following are useful for method overloading??                          


A. __call, __get, __set B. _get,_set,_load
C. __get,__set,__load D. __overload




54.

Which of the following is a PHP resource??                          


A. Domxml document B. Odbc link
C. File D. All of the above




« prev

1

2

3

4

5

6

7

8

9

......

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on