1.  What is the difference between stat() and fstat() ?


While stat() works on open file pointers, fstat() works on files specified by pathname
While fstat() works on open file pointers, stat() works on files specified by pathname
fstat() has nothing to do with files
stat() has nothing to do with files


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

2.  If you want to temporarily store uploaded files in the /tmp/phpuploads/ directory, which one of the following statement will you use ?


upload_tmp_dir ‘‘/tmp/phpuploads/ directory’‘
upload_dir ‘‘/tmp/phpuploads/ directory’‘
upload_temp_dir ‘‘/tmp/phpuploads/ directory’‘
upload_temp_director ‘‘/tmp/phpuploads/ directory’‘


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

3.  Which function sets the file filename’s last-modified and last-accessed times ?


sets()
set()
touch()
touched()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

4.  Which function is useful when you want to output the executed command’s result ?


out_cmm()
out_system()
cmm()
system()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

5.  What is the purpose of basename() function ?


Returns the last accessed time of the file
Returns the first accessed time of the file
Strips of the path and returns the file name.
Strips of the path and returns the folder name.


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report