Home

What is the default time(in seconds) for which session data is considered valid?

A. 1800

B. 3600

C. 1440

D. 1540

0) print $i;} ?> ">What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  • If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
  • How many ways can a session data be stored?
  • 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 define(GREETING, PHP is a scripting language,…
  • What will be the output of the following PHP code ? <?php $color1 = 1;$color2 = 1;echo $color1 +…
  • To create an object and set the date to JUNE 22, 2013, which one of the following statement should be…
  • What will be the output of the following PHP code? If say date is 22/06/2013. <?php printf( date(t)…
  • 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 /*echo Hello world;*/ ?>
  • Which one of the following is the default PHP session name?
  • What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0){ $i++;print $i;print…
  • What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language);echo…
  • What will be the output of the following code?<?php $foo = 'Bob'; $bar = &$foo; $bar…
  • 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 $cars = array(Volvo, BMW, Toyota);echo I…
  • What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  • -->

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