1. Question: The client’s IP address is

    A
    $_SERVER['REMOTE_ADDR']

    B
    $_SERVER['REMOTE_addr']

    C
    $_SERVER$_REMOTE_ADDR

    D
    $_SERVER() { 'REMOTE_ADDR' }

    Note: Not available
    1. Report
  2. Question: Which of the following variables is not a predefined variable?

    A
    $get

    B
    $request

    C
    $post

    D
    $ask

    Note: Not available
    1. Report
  3. Question: To know your browser and operating system’s information what will you consider?

    A
    <?php printf("Your browser is:",$_SERVER['HTTP_USER_AGENT']); ?>

    B
    <?php printf("Your browser is:",$_SERVER['HTTP_USER']); ?>

    C
    <?php printf("Your browser is:",$_SERVER['HTTP_ADDR_AGENT']); ?>

    D
    <?php printf("Your browser is:",$_POST['HTTP_USER_AGENT']); ?>

    Note: Not available
    1. Report
  4. Question: the following variables bear no relation to one another: • $color • $Color • $COLOR; True or False?

    A
    True

    B
    False

    C
    $color, $Color and $COLOR are not variables.

    D
    none

    Note: Not available
    1. Report
  5. Question: Into compound data types categories are ______.

    A
    Array

    B
    Object

    C
    String

    D
    Integer

    Note: Not available
    1. Report
  6. Question: To know your IP address what will you select?

    A
    <?php printf("your IP address:%s",$_SERVER['HTTP_USER_AGENT']); ?>

    B
    printf("your IP address:%s",$_SERVER['REMOTE_ACCEPT']);

    C
    printf("your IP address:%s",$_SERVER['REMOTE_POST']);

    D
    printf("your IP address:%s",$_SERVER['REMOTE_ADDR']);

    Note: Not available
    1. Report
  7. Question: For knowing the path of the URL__

    A
    <?php printf("your IP address:%s",$_SERVER['REQUEST_URI']); ?>

    B
    printf("your IP address:%s",$_SERVER['HTTP_USER_AGENT']);

    C
    printf("your IP address:%s",$_SERVER['HTTP_HOST']);

    D
    printf("your IP address:%s",$_SERVER['HTTP_USER_ACCEPT]);

    Note: Not available
    1. Report
  8. Question: How many Configuration Directive Scope in PHP?

    A
    5

    B
    4

    C
    6

    D
    8

    Note: Not available
    1. Report
  9. Question: which functions  provide for comparing two string in php?

    A
    strcmp()

    B
    strcasecmp()

    C
    strspn()

    D
    strcspnp()

    Note: Not available
    1. Report
  10. Question: What means %s?

    A
    Argument considered a string; presented as a string

    B
    Argument considered an integer

    C
    Argument considered an integer; presented as a character corresponding to that ASCII value

    D
    none

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