php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "filename"

How can PHP scripts be modified to store a different filename in the log file than the actual filename being downloaded?

To store a different filename in the log file than the actual filename being downloaded, you can modify the PHP script to include a mapping between th...

What are the implications of using the header("Content-Disposition: attachment; filename=".$filename) function in PHP for browser output?

When using the header("Content-Disposition: attachment; filename=".$filename) function in PHP, the browser will prompt the user to download the file w...

What potential issues can arise when using "http.php" as a filename in PHP?

Using "http.php" as a filename in PHP can potentially cause conflicts with the built-in HTTP extension or other libraries that may use the same filena...

How can the error message "Filename cannot be empty" be resolved in the include command?

The error message "Filename cannot be empty" occurs when the include command is used without specifying a filename. To resolve this issue, ensure that...

When should pathinfo be used to extract a filename in PHP?

Pathinfo should be used to extract a filename in PHP when you need to retrieve specific parts of a file path, such as the filename, extension, directo...

Showing 1 to 5 of 641 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 128 129 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.