It has been my experience that all this should be on one line without spaces and/or crlf’s

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From:
Ezra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 11:54 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Image & pdf from database

 

Hi,

In my db I've got a some images (gif/jpeg) and PDF files What should the proper httpdHeader values be for there data types? I tried the following but it crashes witango!


<@ASSIGN NAME="data" SCOPE="Local" VALUE="<@COL NUM='2' ENCODING=NONE>">
<@ASSIGN NAME=size" SCOPE="Local" VALUE="<@VARINFO LOCAL$data SIZE>">
<@ASSIGN LOCAL$encodeResults FALSE>

<@ASSIGN local$httpHeader "Content-Type: image/gif; name=<@COL 1 ENCODING=NONE><@CRLF>Content-Disposition: inline; filename=<@COL 1 ENCODING=NONE><@CRLF>Content-Length: @@local$size<@CRLF><@CRLF>">

<@VAR LOCAL$data ENCODING=NONE>



any ideas?



thanks,
ezra

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to