TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: POINDEXTER FORTRAN
from: ECHICKEN
date: 2019-09-22 11:23:00
subject: Web Server Rendering text

  Re: Web Server Rendering text
  By: poindexter FORTRAN to All on Sun Sep 22 2019 06:59:00

 PF> If I click on a test document, I'm prompted to download the file.
 PF> Instead, I'd like to render it in the browser window. is this a
 PF> function of the web server or the browser?

It's likely down to some header values set by my script on the server.  It has
no way of knowing which types of files are displayable in a browser, so right
now it just tells the browser to save the contents as a file every time.  There
are better ways of dealing with this, but I'd have to spend some time
implementing something.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com
 þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.