PHP File System flock() is used to unlock a file so that two or more people do not get access to it at the same time. True False True False ANSWER DOWNLOAD EXAMIANS APP
PHP File System Which one of the following PHP function is used to determine a file’s last access time? filetime() fileatime() filectime() fileltime() filetime() fileatime() filectime() fileltime() ANSWER DOWNLOAD EXAMIANS APP
PHP File System Which function is useful when you want to output the executed command’s result? cmm() out_cmm() out_system() system() cmm() out_cmm() out_system() system() ANSWER DOWNLOAD EXAMIANS APP
PHP File System fgets() is used to read a file one line at a time. True False True False ANSWER DOWNLOAD EXAMIANS APP
PHP File System What is the purpose of basename() function? Strips of the path and returns the file name Returns the first accessed time of the file Returns the last accessed time of the file Strips of the path and returns the folder name Strips of the path and returns the file name Returns the first accessed time of the file Returns the last accessed time of the file Strips of the path and returns the folder name ANSWER DOWNLOAD EXAMIANS APP
PHP File System What should you do if your script is having problem recognizing file endings from a text file saved on a platform different from the one you’re reading it on? Read the file one character at a time Use a regular expression to detect the last letter of a line Change the auto_detect_line_endings INI setting Use fpos() Use ftok() Read the file one character at a time Use a regular expression to detect the last letter of a line Change the auto_detect_line_endings INI setting Use fpos() Use ftok() ANSWER DOWNLOAD EXAMIANS APP