1.

Which function displays the web page’s most recent modification date?(a) lastmod()(b) getlastmod()(c) last_mod()(d) get_last_mod()The question was asked by my school principal while I was bunking the class.Question is from Date and Timestamp in division File and Session Handling in PHP of PHP

Answer» CORRECT choice is (b) getlastmod()

To elaborate: The FUNCTION getlastmod() gets the TIME of the last MODIFICATION of the main script of execution. It returns the value of the page’s last MODIFIED header or FALSE in the case of an error.


Discussion

No Comment Found

Related InterviewSolutions