Home

Neglecting to set which of the following cookie will result in the cookies domain being set to the host name of the server which generated it.

A.

session.domain

B.

session.path

C.

session.cookie_path

D.

session.cookie_domain

0) print $i;} ?> ">What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  • What will be the output of the following PHP code ? <?php define(NEW_GOOD_NAME_CONSTANT, I have a…
  • What will be the output of the following PHP code? <?php $a1 = array(a=>red, b=>green, c=>blue, d=>yellow);$a2…
  • What will be the output of the following PHP code ? <?php define(VAR_NAME,test);${VAR_NAME} = value;echo…
  • What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1.$color2;?>…
  • What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  • What will be the output of the following code? If say date is 22/06/2013. <?php echo Today is .date(F…
  • Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  • What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0){ $i++;print $i;print…
  • What does PHP stand for?i) Personal Home Pageii) Hypertext Preprocessoriii) Pretext Hypertext Processoriv)…
  • What will be the output of the following PHP code? <?php $a1 = array(red, green);$a2 = array(blue,…
  • Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii) Adobe Dreamweaveriv) PDT
  • Which directive determines how the session information will be stored?
  • What will be the output of the following PHP code ? <?php define('GOOD_OCTAL', 0700);define('BAD_OCTAL',…
  • Which one of the following is the default PHP session name?
  • Which one of the following is the very first task executed by a session enabled page?
  • What will be the output of the following PHP code ? <?php $i = 0;while ($i = 10){ print hi;}print…
  • Which one of the following function is useful for producing a timestamp based on a given date and time.
  • If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
  • Which of the following must be installed on your computer so as to run PHP script?i) Adobe Dreamweaverii)…
  • What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  • What will be the output of the following PHP code ? <?php $i = 0;while (++$i && --$i){ print $i;}…
  • -->

    Please do not use chat terms. Example: avoid using "grt" instead of "great".