Which function will suitably replace 'x' if the size of a file needs to be checked? $Size=x(filename);



Which function will suitably replace 'x' if the size of a file needs to be checked? $Size=..

Answer / Divya Prakash Gupta

To get the size of a file in PHP, you can use `filesize()` function: `$Size = filesize('filename');`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Explain the three different kinds of Arrays?

1 Answers  


Declare a new variable in php equal to the number 3;

1 Answers  


How can I learn php fast?

1 Answers  


What is namespace and use in php?

1 Answers  


What is strcmp () in php?

1 Answers  


What are the differences between require and include, include_once?

3 Answers  


What are the differences between PHP3 and PHP4 versions?

1 Answers  


What is the difference between fopen() and fclose()?

1 Answers  


What is Different between Joomla And Magento?

1 Answers  


What is overloading and overriding in php?

1 Answers  


how can attached a file to a mail and attached a resume to a mail and received in id

0 Answers  


Which library is used in php to do various types of image work?

1 Answers  


Categories