Vidyalelo
PHP · Q59

HTML Forms Handling

Programming · PHP · question 59

Q59

Which function do you have to use to check whether the path you’ve stored exists?

A.
path_dir()
B.
path()
C.
is_dir()
Answer
D.
None of the above

Answer: Option C

Solution

Answer: Option C
Solution:
If the path exists, is_dir() returns TRUE; otherwise, it returns FALSE.