php header content dispositon code example
Example 1: header location in php
<?php
// This will redirect to google.com
$url = "https://google.com";
header("Location: $url");
?>
Example 2: php header
header ( string $header [, bool $replace = TRUE [, int $http_response_code ]] ) : void