RE: Include pieces of code in an HTML file

> We do not use JUST server side includes because every server 
> has different way
> to include pieces of code, and if you move pages from a 
> server to another, you
> have not portable code.

I agree.  And to agree more, here are 2 examples:

1- I create a web page on Geocities because its free.  I want to include a
word perfect document (file.doc).  Problem...  It's a word perfect version 9
and word craps out when trying to view it.  Two choices, ask Geocities to
change my DOC type to Corel Word Perfect, or have an instruction that
explains how to go to the registry, disable the Word Viewer, right click on
the link, save as...?

2- I have a web application that "sends" files.  A web page displays an
instruction page on how to save/view/etc the document plus the server sends
the document at the same time.  I know this can be done because this is how
www.download.com works.  What will happen if the file sent is an HTML file,
or a gif, pdf, doc???  These files will be displayed in the browser...
Should there be a different instruction page for each type?  No way.


If you can help me work around this problem, I'll forget about this thread
of emails.  The problem is real because we had this problem more than once.
I probably just missed a bolt.


Pat

Received on Thursday, 30 September 1999 09:13:19 UTC