php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "MIME"

What are the best practices for determining MIME types in PHP?

When working with files in PHP, it is important to determine the MIME type of the file to ensure proper handling and security. One way to determine th...

How can the MIME type of a variable's content be determined in PHP?

To determine the MIME type of a variable's content in PHP, you can use the `finfo` extension which provides functions to determine the MIME type of a...

How can one determine the MIME type of a file in PHP 5.5?

To determine the MIME type of a file in PHP 5.5, you can use the `finfo_open` and `finfo_file` functions. `finfo_open` creates a new fileinfo resource...

What is the purpose of the pear mime mail class in PHP?

The purpose of the pear mime mail class in PHP is to simplify the process of sending MIME email messages, which allows for the inclusion of attachment...

How can PHP be used to create an upload system for files with specific MIME types?

To create an upload system for files with specific MIME types in PHP, you can check the uploaded file's MIME type using the `$_FILES` superglobal and...

Showing 11 to 15 of 834 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 166 167 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.