1. Question: Which of the following is/are not configuration directives that are responsible for tweaking PHP's session-handling behavior.

    A
    session.save_handler=files|mm|sqlite|user

    B
    sesson.save_path=string

    C
    session_auto_start=0|1

    D
    session.name=string

    E
    session.referer_check=string

    F
    sesson.domain=string

    Note: Not available
    1. Report
  2. Question: Which of the following is not the value of session.cache_limiter  directive?

    A
    none

    B
    nocache

    C
    private

    D
    public

    E
    private_no_expire

    F
    public_no_expire

    Note: Not available
    1. Report
  3. Question: You need to count the number of parameters given in the URL by a POST operation. The correct way is:

    A
    count($POST_VARS);

    B
    count($POST_VARS_PARAM);

    C
    count($_POST);

    D
    count($HTTP_POST_PARAM);

    Note: Not available
    1. Report
  4. Question: How would you start a session?

    A
    session(start);

    B
    session();

    C
    session_start();

    D
    begin_sesion();

    Note: Not available
    1. Report
  5. Question: Which key is used to get visitor's IP address using $_SERVER[] super global?

    A
    CLIENT_ADDR

    B
    REMOTE_ADDR

    C
    VISITOR_ADDR

    D
    SERVER_ADDR

    Note: Not available
    1. Report
  6. Question: 
    <?php
    echo $_SERVER[‘REMOTE_ADDR’];
    ?>
    The above statement represents what?

    A
    Shows the IP address of the client

    B
    Shows the IP address of the server

    C
    All

    D
    None

    Note: Not available
    1. Report
  7. Question: How can we assign a unique identifier?

    A
    CookieID

    B
    SessionID

    C
    ClientID

    D
    None

    Note: Not available
    1. Report
  8. Question: How to can we store information on the client’s Machine?

    A
    Use session

    B
    Use cookies

    C
    Use session variables

    D
    None

    Note: Not available
    1. Report
  9. Question: Which of the following method is suitable when you need to submit large amount of data?

    A
    Get

    B
    Post

    C
    Both Get and Post

    D
    There is no direct way for larger from. You need to store them in a session.

    Note: Not available
    1. Report
  10. Question: Which function create a new session of continues a current session?

    A
    SessionStart

    B
    Session_Start

    C
    Start_session

    D
    All

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd