Re: Display BYTE in HTML generated by 4gl cgi
Posted in 1999
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? You must have a "LOCATE" statement for the blob field, right? When you fetch the data, the binary data is stored in a temporary file (if you used the "locate in file" syntax). Is that any help? -- Colin McGrath cmm@trac3000.ueci.com