php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "file size."

What is the recommended approach for determining the file size of a file with an absolute URL in PHP?

To determine the file size of a file with an absolute URL in PHP, you can use the `filesize()` function in combination with `file_get_contents()` to g...

How can one ensure proper file size retrieval when using fopen in PHP?

When using fopen in PHP to retrieve file size, it is important to handle the file pointer correctly to ensure proper file size retrieval. One way to d...

What is the function in PHP used to determine the size of a file?

To determine the size of a file in PHP, you can use the `filesize()` function. This function returns the size of the file in bytes. You just need to p...

How can you automatically create a new file in PHP if the current file exceeds a certain size?

When a file in PHP exceeds a certain size, you can automatically create a new file and continue writing to it to avoid reaching the size limit. To do...

What potential issue did the user in the forum thread face when trying to limit the file size of an uploaded file using filesize()?

The potential issue the user faced when trying to limit the file size of an uploaded file using `filesize()` is that `filesize()` returns the size of...

Showing 26 to 30 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 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.