You will need to understand and send the appropriate "content-type" as a part of the HTML header information that you return to the requesting web browser.
Typically, browsers already understand what to do with "html" and "text" type documents, and are assisted by "content-type" information which typically contains "text/html". You will need to send something like "application/zip" as the content-type.
You will also need to brush up on Multipart MIME type messages. I suggest you get a HTML programming book.
Happy learning!
"As you get older three things happen. The first is your memory goes, and I can't remember the other two... "
- Sir Norman Wisdom
|