Originally posted by dbkarthik
i would like to know the file formats which can be made as a download files more over if passible tell me how to do the same
You can download any file you like. If you don't know the MIME Type of the type of document you're sending, just use application/octet-stream.
For code to do what you're asking for, see the manual's entry on the header() function.