Sr. PHP Programmer Question:
Download Questions PDF

How will you get the size of a file in php?

Answer:

The files's length can be found using the filesize() function which takes the file name as its argument and returns the size of the file expressed in bytes.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What types of loops exist in php?How will you locate a string within a string in PHP?