Examveda
Examveda

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

A. path_dir()

B. path()

C. is_dir()

D. path_dir()

Answer: Option C

Solution(By Examveda Team)

If the path exists, is_dir() returns TRUE; otherwise, it returns FALSE.

This Question Belongs to PHP >> HTML Forms Handling

Join The Discussion

Related Questions on HTML Forms Handling