What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] ReturnRaw and binarybody

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110515
interpreted = N
texte = Tom This will do the job for you: [TEXT]MyImage=3D[ENCRYPT method=3Dbase64&file=3Dtest.jpg][/ENCRYPT][/TEXT]= I have used a JPG so just swap to GIF etc. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 24/07/2013, at 6:37 PM, Tom Duke wrote: > Stuart, >=20 > Hi - thanks for the feedback. I'm on CentOS. >=20 > I actually do want to show the image, I was hoping to be able to store = it as a Base64 encoded text string within the WebDNA template, and then = serve it out as a gif using [returnraw] - but it's not working. >=20 > I then tried to [decrypt] it, write it to disk and then display the = image, but that's not working either. So if you try the following: >=20 >=20 > [text]myImage=3D[encrypt method=3Dbase64][include = file=3Dinput.gif][/encrypt][/text] >=20 > [writefile file=3Doutput.gif][decrypt = method=3Dbase64][myImage][/decrypt][/writefile] >=20 > >=20 >=20 > it's not working at my end anyway. Would be interesting to hear if = it's working on other systems, or if there is a reason why it shouldn't = work. >=20 > - Tom >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  2. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  3. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  4. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  5. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  6. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  7. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  8. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  9. [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
Tom This will do the job for you: [text]MyImage=3D[ENCRYPT method=3Dbase64&file=3Dtest.jpg][/ENCRYPT][/TEXT]= I have used a JPG so just swap to GIF etc. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 24/07/2013, at 6:37 PM, Tom Duke wrote: > Stuart, >=20 > Hi - thanks for the feedback. I'm on CentOS. >=20 > I actually do want to show the image, I was hoping to be able to store = it as a Base64 encoded text string within the WebDNA template, and then = serve it out as a gif using [returnraw] - but it's not working. >=20 > I then tried to [decrypt] it, write it to disk and then display the = image, but that's not working either. So if you try the following: >=20 >=20 > [text]myImage=3D[encrypt method=3Dbase64][include = file=3Dinput.gif][/encrypt][/text] >=20 > [writefile file=3Doutput.gif][decrypt = method=3Dbase64][myImage][/decrypt][/writefile] >=20 > >=20 >=20 > it's not working at my end anyway. Would be interesting to hear if = it's working on other systems, or if there is a reason why it shouldn't = work. >=20 > - Tom >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us WebDNA

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

August 15th WebDNA Chat Transcript (2002) process code only if accessed via POST (2006) thread discussion solution (2000) Generating Report Totals (1997) quantity minimum problem (1997) Custom Shipping Charges (1997) setting taxable to true (1997) Bug or syntax error on my part? (1997) Ampersand (1997) Db design question (relational vs. flat?) (1998) Webdna 5.0 reference documentation (2003) Shipcost formula (2004) [format] question (2000) Cross-platform file locations? (2000) relational db question (2002) SV: Mass Mail (2000) [WebDNA] WebDNA on LiveCD ... (2008) includes and cart numbers (1997) Shopping Cart Page (1997) carts on MacOS X Server (2000)