|
Posted by Pascal Herczog on 11/15/05 22:06
"Toby Inkster" <usenet200511@tobyinkster.co.uk> wrote in message
news:odon43-0md.ln1@ophelia.g5n.co.uk...
> Pascal Herczog wrote:
>
>> Not sure I understand, as the text files are just plain text, and don't
>> contain any specific html code.
>
> If they are sent by HTTP, they will be sent with an HTTP header. This
> header contains a "Content-Type" line which tells the browser what type of
> file it's dealing with. If this line is wrong, the browser may act
> strangely.
>
Ok, so I've simply uploaded these text files to my webspace, how can I
ensure that when they are sent to the user they are forced to be interpreted
as ordinary text files, destined for the page frame that I've prescibed?
Or can I put something in the <a href...=File.txt> line to do this?
Pascal.
[Back to original message]
|