Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which one of the following PHP functions can be used to find files?

a) fold()
b) file()
c) glob()
d) get_file()

Answer: c
Explanation: The function glob() returns an array of filenames or directories which matches a specified pattern. The function returns an array of files/directories, or it will return FALSE on failure.

Join The Discussion