What header should be included in the PHP code to provide the client with instructions on how to handle the downloaded file?
When sending a file for download in PHP, it's important to include the `Content-Disposition` header with a value of `attachment` to instruct the client to handle the file as an attachment rather than displaying it in the browser window. This header will prompt the client to download the file instead of opening it in the browser.
<?php
$file = 'example.pdf';
header('Content-Description: File Transfer');
header('Content-Type: application/pdf');
header('Content-Disposition: attachment; filename="' . basename($file) . '"');
header('Content-Length: ' . filesize($file));
readfile($file);
?>