1. Question: Which is correct for displaying the total execution time for your application?

    A
    <?php echo $this->benchmark->elapsed_time(); ?>

    B
    <?php echo $this->benchmark->elapsed_time() ?>

    C
    <?php echo $this->benchmark->elapsedTime(); ?>

    D
    <?php echo $this->load->elapsed_time(); ?>

    Note: Not available
    1. Report
  2. Question: Which is used for Filtering a single item?

    A
    $name = $this->load->xss_filter($this->input->post('name'));

    B
    $name = $this->input->xss_filter($this->load->post('name'));

    C
    $name = $this->input->xss($this->input->post('name'));

    D
    $name = $this->input->xss_filter($this->input->post('name'));

    Note: Not available
    1. Report
  3. Question: Which function is used to retrieving GET and POST data?

    A
    $this->input->get('some_field', TRUE);

    B
    $this->input->get_post('some_field', TRUE);

    C
    $this->input->post('some_field');

    D
    $this->load->get_post('some_field', TRUE);

    Note: Not available
    1. Report
  4. Question: Which function is used to validate an IP address?

    A
    if(!$this->input->valid_ip($ip)){
      echo "Not a valid IP";
    }else{
     echo "Valid IP!";
    }

    B
    if(!$this->input->ip_address($ip)){
      echo "Not a valid IP";
    }else{
      echo "Valid IP!";
    }

    C
    if($this->input->valid_ip($ip)){
      echo "Not a valid IP";
    }else{
     echo "Valid IP!";
    }

    D
    if(!$this->load->valid_ip($ip)){
     echo "Not a valid IP";
    }else{
     echo "Valid IP!";
    }

    Note: Not available
    1. Report
  5. Question: Which of the following line of code is used to show the debugging information?

    A
    echo $this->input->print_debugger();

    B
    echo $this->email->print_debugger();

    C
    echo $this->email->load_debugger();

    D
    echo $this->email->email_debugger();

    Note: Not available
    1. Report
  6. Question: Which library is used to send email?

    A
    $this->load->helper('email');

    B
    $this->input->library('email');

    C
    $this->load->library('email');

    D
    $this->load->library('form');

    Note: Not available
    1. Report
  7. Question: SMTP stands for what?

    A
    Simple Mail Transfer Port

    B
    Simple Mail Transaction Protocol

    C
    Sample Mail Transfer Protocol

    D
    Simple Mail Transfer Protocol

    Note: Not available
    1. Report
  8. Question: Is CodeIgniter JavaScript and PHP framework?

    A
    True

    B
    False

    Note: Not available
    1. Report
  9. Question: Which of the following ways codeIgniter support filtering data?

    A
    $config["global_xss_filtering"]=TRUE

    B
    $data=$this->input->post($data,true);

    C
    $data=$this->input->xss_clean($data);

    D
    $data=$this->input->clear_xss($data);

    Note: Not available
    1. Report
  10. Question: Which of the following library is needed to load to call $this->encrypt->sha1() function?

    A
    $this->load->library('encrypt');

    B
    $this->load->library('encryption');

    C
    $this->load->library('security');

    D
    $this->load->library('sha');

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