Suppose All Web Material Is Located Within The Directory #255
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?
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP File and Session Handling - PHP Website Security - Quiz No.1.
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?
open_dir = “/home/www/”
open_dir = /home/www/
open_basedir = /home/www/
open_basedir = “/home/www/”