PHP Download File with Include

Posted by arik-so on Stack Overflow See other posts from Stack Overflow or by arik-so
Published on 2010-04-28T15:43:40Z Indexed on 2010/04/28 17:03 UTC
Read the original article Hit count: 201

Filed under:
|
|
|
|

How can I use PHP's include function to include a file and then modify the headers so it forces - at least that's how it's called - browsers to download ITSELF (the PHP file). Is it possible to also modify the preset save name, in order to change the extension from *.php to something else?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about php

Related posts about include