Re: Display BYTE in HTML generated by 4gl cgi
Posted in 1999
To save the BYTE value to file use LOCATE bytevar IN FILE "filename" command and then perform a select in bytevar. As a result you will have the byte value in this file. Hope this helps, Octav On Tue, Sep 07, 1999 at 07:17:50PM +0000, southwel@my-deja.com wrote: > I've written a cgi program (INFORMIX-4GL Version > 6.00.UE3) that works very well at querying and > displaying data from an IDS database to an HTML > page. Problem: I now have a need to display a > BYTE value (JPG). I realize the IMG tag needs a > URI, so I am attempting to save the BYTE to a temp > file, then display that. UNLOAD give a HEX dump > that is of no use, and REPORT simply writes 'BYTE > value' into the file, also of no use. > > I know the byte value is O.K., as I am able to use > DELPHI to store and retrieve the value. > > Aside from buying the Universal server options, is > there a way to display a BYTE in a browser? Has > anyone done this? > > ===== > Sky Southwell > Data Management > Maricopa County Attorney's Office > Phoenix, AZ 85003 > southwel@mcao.maricopa.gov > > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't. -- Octav Chiriac Phone: (373) 2 22 99 67 NetInfo S.R.L. Fax: (373) 2 21 36 59 Chisinau (373) 2 22 84 88 Moldova, Republic of mailto:com@netinfo-moldova.com