php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "code modification"

How can headers in PHP be effectively used for redirects without causing header modification errors?

When using headers in PHP for redirects, it's important to ensure that no output has been sent to the browser before the header functions are called....

Why does adding an echo statement before setting a cookie in PHP code result in a header modification error on IIS from Windows 2000 but not on Windows XP?

The issue occurs because when an echo statement is used before setting a cookie in PHP code, it sends output to the browser before the headers are set...

What is the common error message related to header modification in PHP?

The common error message related to header modification in PHP is "Cannot modify header information - headers already sent". This error occurs when th...

How can PHP be used to filter and move files based on creation or modification dates, especially in the context of a single file gallery?

To filter and move files based on creation or modification dates in a single file gallery, you can use PHP to iterate through the files in the gallery...

What PHP function can be used to retrieve the modification date of a file?

To retrieve the modification date of a file in PHP, you can use the `filemtime()` function. This function returns the Unix timestamp of when the file...

Showing 121 to 125 of 10000 results

‹ 1 2 ... 22 23 24 25 26 27 28 ... 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.