Php to return a binary not html
Im writing a script that when contacted dynamically reads in certain files and returns the text on the screen as html but i also need to have the option that if someone contacts the server with the url string binary=true then the php script should read those file and return them as a binary(download) . Any one know how i can do this?
|