# http-headers/trunk/views/header.php

HTTP Headers, version trunk. 27 lines.

- Page: https://pluginprobe.com/plugins/http-headers/trunk/code/views/header.php
- Raw: https://pluginprobe.com/plugins/http-headers/trunk/raw/views/header.php
- Modified: 2026-04-25T11:57:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/http-headers/trunk/code/views/header.php#L10-L20`.

```php
<?php 
if (!defined('ABSPATH')) {
    exit;
}
include dirname(__FILE__) . '/includes/config.inc.php';
include dirname(__FILE__) . '/includes/breadcrumbs.inc.php';
?>

<section class="hh-panel">
	<form method="post" action="options.php">
	    <table class="form-table hh-table">
			<tbody>
			<?php
            if (isset($_GET['header']))
            {
	            $http_headers_header_file = sprintf('%s/%s.php', dirname(__FILE__), basename(sanitize_text_field(wp_unslash($_GET['header']))));
	            if (is_file($http_headers_header_file))
	            {
		            include $http_headers_header_file;
	            }
            }
			?>
			</tbody>
		</table>
		<?php submit_button(); ?>
	</form>
</section>
```
