I want users to be able to download a PHP file from my server with the code still intact. They'll be then loading it on their server where it can be executed.
Offering a standard download obviously won't work, as the file will be executed before they download it. I'd rather not rename them ".txt" or anything, as that'll cause more work (and probably some confusion) for my users.
What is my best bet here?