| | |
How to render a formatted output using HTML?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
If you just 'return' a stored zip file or other file to a browser, you don't have to do anything. For example, if a user visits:
http://www.example.com/example.zip
The zip file will ordinarily be handled by the browser's MIME configuration, and the user will be allowed to download it.
However. If your server's MIME handler configuration is messed up, then the server might try to process the file internally, or send the file as if it were page content. You'd have to talk to your hosting provider or look in your server software manual and tell the server NOT try to try to handle zip files, but send them with a valid MIME type.
If you're 'creating' zip data and sending it back from a request, you would need to specify a Content-Type header that described the content =P
http://www.example.com/example.zip
The zip file will ordinarily be handled by the browser's MIME configuration, and the user will be allowed to download it.
However. If your server's MIME handler configuration is messed up, then the server might try to process the file internally, or send the file as if it were page content. You'd have to talk to your hosting provider or look in your server software manual and tell the server NOT try to try to handle zip files, but send them with a valid MIME type.
If you're 'creating' zip data and sending it back from a request, you would need to specify a Content-Type header that described the content =P
Plato forgot the nullahedron..
![]() |
Similar Threads
- How to render a formatted output using HTML? (ASP.NET)
- How to render a formatted output using VB.NET? (VB.NET)
Other Threads in the HTML and CSS Forum
- Previous Thread: HTML table vertical aligning problem
- Next Thread: I need help with this, please anyone?
Views: 3942 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
2002 appointments asp background backgroundcolor beta browser bug calendar cart center cgi code codeinjection corporateidentity create css deleted design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format free frontpage google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft missing mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl






