A PHP Error was encountered

Severity: Warning

Message: fopen(/var/cpanel/php/sessions/ea-php56/PHPSESSIDtoqki59qmtihbckilaacgqaq7i1bfc40): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 174

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?
Q:

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?

belongs to collection: SESSION HANDLING IN PHP MCQ

0

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?


  1. open_dir = “/home/www/”
  2. open_dir = /home/www/
  3. open_basedir = /home/www/
  4. open_basedir = “/home/www/”

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

SESSION HANDLING IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which Apache directive outputs Apache’s server v... >>
<< The memory_limit is only applicable if ___ is enab...

A PHP Error was encountered

Severity: Warning

Message: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/cpanel/php/sessions/ea-php56)

Filename: Unknown

Line Number: 0