php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "file size."

What function can be used to check the size of a file in PHP?

To check the size of a file in PHP, you can use the `filesize()` function. This function returns the size of the file in bytes. By using `filesize()`,...

How can one reliably determine the file size of an uploaded file before uploading it in PHP?

When uploading files in PHP, it is important to check the file size to prevent uploading excessively large files that may exceed server limits. One wa...

Are there any best practices for efficiently determining the file size of jpgs in PHP?

To efficiently determine the file size of jpgs in PHP, you can use the `filesize()` function which returns the size of a file in bytes. This function...

How can the maximum file size be determined when using pclzip.lib.php for server-side ZIP file creation in PHP?

When using pclzip.lib.php for server-side ZIP file creation in PHP, the maximum file size can be determined by checking the PHP configuration settings...

How can the maximum file size limit for uploads be properly managed in PHP?

To manage the maximum file size limit for uploads in PHP, you can use the `upload_max_filesize` and `post_max_size` directives in the php.ini file to...

Showing 36 to 40 of 10000 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.