Sr. PHP Programmer Question: Download Senior PHP Programmer PDF

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

Tweet Share WhatsApp

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 PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
What types of loops exist in php?How will you locate a string within a string in PHP?