Re: [fileinfo . . .]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34662
interpreted = N
texte = Try:[showif [include file=path/to/jpg/that/is/a.gif]^GIF89]It's a GIF[/showif]That might work. My brain full of limited knowledge can't see a situation where it wouldn't. Jesse Proudman - NineWire Digital Solutions http://www.ninewire.com <> jesse@ninewire.com Innovative and Creative Digital Solutions ****************************************************************** * NineWire Productions and Digital Speed Networks, have merged!! * * We are now known as NineWire Digital Solutions! * ******************************************************************> -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Jeff Grady > Sent: Thursday, July 13, 2000 3:21 PM > To: WebCatalog Talk > Subject: [fileinfo . . .] > > > I posted a message earlier about problems with http > upload. After some help from Bob Minor, we determined > that the problem was this . . . > > IF you use [fileinfo ....path] to get the [imagewidth] > or the [imageheight] for a file, and the file you are > getting this information for is named xxxx.gif, BUT it > is really is a jpeg file (or vise-versa) some hooey > things can happen to the information that is returned > within the [fileinfo] tags. > > So, if webCatalog 4.0 can extract width and height > information from the binary data of jpeg and gif > files, it should be very easy to also tell if the > image is compressed using jpeg or gif compression. > Thus a [filetype] tag would be very useful. > > Is there anyway that anyone can think of or knows of > to use WebDNA look at a file and tell what type it > REALLY is without looking at the extension on the > filename? > > Thanks! > Jeff > > __________________________________________________ > Do You Yahoo!? > Get Yahoo! Mail – Free email you can access from anywhere! > http://mail.yahoo.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [fileinfo . . .] (Bob Minor 2000)
  2. Re: [fileinfo . . .] (Bob Minor 2000)
  3. Re: [fileinfo . . .] (Jeff Grady 2000)
  4. Re: [fileinfo . . .] (Jesse Proudman (Lists Account) 2000)
  5. Re: [fileinfo . . .] (Jeff Grady 2000)
  6. Re: [fileinfo . . .] (Kenneth Grome 2000)
  7. Re: [fileinfo . . .] (Jeff Grady 2000)
  8. Re: [fileinfo . . .] (Jesse Proudman (Lists Account) 2000)
  9. [fileinfo . . .] (Jeff Grady 2000)
  10. Re: [fileinfo . . .] (Jesse Proudman (Lists Account) 2000)
Try:[showif [include file=path/to/jpg/that/is/a.gif]^GIF89]It's a GIF[/showif]That might work. My brain full of limited knowledge can't see a situation where it wouldn't. Jesse Proudman - NineWire Digital Solutions http://www.ninewire.com <> jesse@ninewire.com Innovative and Creative Digital Solutions ****************************************************************** * NineWire Productions and Digital Speed Networks, have merged!! * * We are now known as NineWire Digital Solutions! * ******************************************************************> -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Jeff Grady > Sent: Thursday, July 13, 2000 3:21 PM > To: WebCatalog Talk > Subject: [fileinfo . . .] > > > I posted a message earlier about problems with http > upload. After some help from Bob Minor, we determined > that the problem was this . . . > > IF you use [fileinfo ....path] to get the [imagewidth] > or the [imageheight] for a file, and the file you are > getting this information for is named xxxx.gif, BUT it > is really is a jpeg file (or vise-versa) some hooey > things can happen to the information that is returned > within the [fileinfo] tags. > > So, if webCatalog 4.0 can extract width and height > information from the binary data of jpeg and gif > files, it should be very easy to also tell if the > image is compressed using jpeg or gif compression. > Thus a [filetype] tag would be very useful. > > Is there anyway that anyone can think of or knows of > to use WebDNA look at a file and tell what type it > REALLY is without looking at the extension on the > filename? > > Thanks! > Jeff > > __________________________________________________ > Do You Yahoo!? > Get Yahoo! Mail – Free email you can access from anywhere! > http://mail.yahoo.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Jesse Proudman (Lists Account)

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:

CAll me Crazy (2000) Webcat/Webmerchant part II (1998) emailer (1997) WebCatalog2 Feature Feedback (1996) # of real domains on 1 web server (1997) WCS Newbie question (1997) WebMerchant Q (2000) OT New use for WebCat (1998) Checking Webdna is running (2007) Cookies (1999) File dates in WebCatalog .tmpl/.inc (1997) Linux/webcat points (2000) ReadDateFormat bug in 3.x (1998) Win2003 Webserver (2003) Next X hits (1996) no global [username] or [password] displayed ... (1997) Authorize.net for dummies (2003) LookUp (2001) emailer truncates last letter! (1997) [input] [/input] (1997)