Can’t find an answer?

Can’t find an answer?

Ask us to get the answer

  • This forum is empty.

Which directive should we disable to obscure the fact that PHP is being used on our server?

(a) show_php

(b) expose_php

(c) print_php

(d) info_php

I had been asked this question during an internship interview.

My question comes from Website Security using PHP in chapter File and Session Handling in PHP of PHP

  • PHP
  • November 14, 2023 at 5:06 am

The developers of PHP deprecated the safe mode feature as of which PHP version.

(a) PHP 5.1.0

(b) PHP 5.2.0

(c) PHP 5.3.0

(d) PHP 5.3.1

The question was asked in class test.

The question is from Website Security using PHP topic in chapter File and Session Handling in PHP of PHP

  • PHP
  • November 5, 2023 at 5:06 am

Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?

(a) AddType application/x-httpd-php .php

(b) AddType application/x-httpd-php .asp

(c) AddType application/x-httpd-asp .php

(d) AddType application/x-httpd-asp .asp

I got this question in an interview for job.

This interesting question is from Website Security using PHP topic in section File and Session Handling in PHP of PHP

  • PHP
  • September 29, 2023 at 5:06 am

Which directive determines which degree of server details is provided if the ServerSignature directive is enabled?

(a) ServerAddons

(b) ServerExtra

(c) ServerTokens

(d) ServerDetails

The question was posed to me during an online exam.

This interesting question is from Website Security using PHP topic in chapter File and Session Handling in PHP of PHP

  • PHP
  • October 31, 2023 at 5:06 am

Which Apache directive outputs Apache’s server version, server name, port and compile-in modules?

(a) ServerSignature

(b) ServerName

(c) ServerDetails

(d) ServerInfo

I have been asked this question in examination.

My question comes from Website Security using PHP in chapter File and Session Handling in PHP of PHP

  • PHP
  • November 5, 2023 at 5:06 am

Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?

(a) open_dir = “/home/www/”

(b) open_dir = /home/www/

(c) open_basedir = /home/www/

(d) open_basedir = “/home/www/”

The question was asked in unit test.

The query is from Website Security using PHP topic in chapter File and Session Handling in PHP of PHP

  • PHP
  • November 3, 2023 at 5:06 am

The memory_limit is only applicable if ________ is enabled when you configure PHP.

(a) –enable-limit

(b) -enable-memory-limit

(c) –enable-memory-limit

(d) -memory-limit

This question was addressed to me in an online quiz.

My enquiry is from Website Security using PHP topic in portion File and Session Handling in PHP of PHP

  • PHP
  • August 30, 2023 at 5:06 am

What is the default value of max_execution_time directive? This directive specifies how many seconds a script can execute before being terminated.

(a) 10

(b) 20

(c) 30

(d) 40

I had been asked this question in quiz.

I’m obligated to ask this question of Website Security using PHP topic in section File and Session Handling in PHP of PHP

  • PHP
  • September 12, 2023 at 5:06 am

Which one of the following statements should be used to disable the use of two classes administrator and janitor?

(a) disable_classes = “administrator, janitor”

(b) disable_classes = class administrator, class janitor

(c) disable_classes = class “administrator”, class “janitor”

(d) disable_class = class “administrator”, class “janitor”

The question was posed to me in an online quiz.

Enquiry is from Website Security using PHP topic in section File and Session Handling in PHP of PHP

  • PHP
  • August 26, 2023 at 5:06 am

Which one of the following statements should be used to disable just the fopen(), and file() functions?

(a) disable_functions = fopen(), file()

(b) disable_functions = fopen, file

(c) functions_disable = fopen(), file()

(d) functions_disable = fopen, file

This question was posed to me in my homework.

My doubt stems from Website Security using PHP in division File and Session Handling in PHP of PHP

  • PHP
  • October 22, 2023 at 5:06 am

Viewing 15 topics - 286 through 300 (of 321 total)

1 2 3 19 20 21 22
  • You must be logged in to create new topics.