Short answer: you cannot. Regardless of whether the browser loads the file or displays it in the browser, this is the browser setting, and not something that you can directly control, because of this, you are simply a link to the file directly.
, PHP, HTML, , , .
php ()