php.org PHP Logo
Beginner Intermediate Advanced

How can one open a header blank in PHP?

To open a header blank in PHP, you can use the header() function with an empty string as the parameter value. This will send an empty header to the browser, essentially creating a blank header.

<?php
header('');
?>

            

Keywords

header blank PHP output buffering ob_clean

Related Questions

  • What best practices should be followed when working with SOAP interfaces in PHP to ensure successful data retrieval, such as the VAT rates for different countries?
  • What are the best practices for handling user input and variables in PHP to avoid errors like variable misnaming?
  • What are the best practices for handling special characters like "ß" in PHP when retrieving and displaying data from databases?
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.