Re: multipart part 2

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57209
interpreted = N
texte = On Thu, 1 Apr 2004, Kalin Mintchev wrote: > On Thu, 1 Apr 2004, Kalin Mintchev wrote: > > > On Thu, 1 Apr 2004, Brian Fries wrote: > > > > > Generally when you get a bunch of garbage returned it indicates that > > > WebDNA crashed while processing the page. Sounds like time disable most > > > of the processing code then add back one piece at a time until you find > > > where it breaks. > > if i have [formvariables] in the page it does the booboo. but i need the > tag for the form checking. again this wasn't happening before the > upgrade... > please try the code on your server - the webcat hasn't crashed because i'm > looking at the same processes before and after submitting the file. look > at the source code from the browser... ok. i think i got around - it happens if i show the form variables. if i only use that tag for checking the form content without displaying the [name] and [value] tags from [formvariables] appears to be working fine. is the [value] actually trying to display the actual image binary file??!? that will be... uhhh... how do you call it.... not logical?! sorry for the false alarm... it's not exactly a bug. but it might be. it wasn't there in the 4.5 > > > > > > the same code was fine yesterday before the upgrade... > > > > > > > > - brian > > > > > > On Apr 1, 2004, at 12:02 AM, Kalin Mintchev wrote: > > > > > > > > > > > hi all, > > > > > > > > well this time a webcat booboo.. > > > > > > > > we upgraded last night to wc 6.1 on one redhat 8 box.. > > > > i have problem with multipart forms - passing image files via post. > > > > here is the example - used for another thread here a few days ago when > > > > the > > > > image post was working: > > > > > > > > http://tribecaarts.com/tests/test_form.html > > > > > > > > if you choose an image file to pass with the form (right now it's not > > > > being copied to the server) you'll see all kinds of garbage. basically > > > > webcatalog is appending randomly pages from other domains on the same > > > > server?!?!?? > > > > what's up with that? i haven't touched that form after the upgrade took > > > > place last night... > > > > maybe somebody can copy and paste it on his/her server and let me know > > > > if > > > > its doing the same thing - it wasn't two days ago here... > > > > > > > > thanks... > > > > > > > > > > > > > > > > On Tue, 30 Mar 2004, Kalin Mintchev wrote: > > > > > > > >> > > > >> now - how do i get the value of the img field?! > > > >> > > > >> the browser returns garbage. i know that is some kind of local temp > > > >> path > > > >> but how do i pull it out from [formvariables] > > > >> > > > >> this is just for cosmetic purpose - like when the user has selected a > > > >> file but has done a booboo somewhere else - to avoid reselecting the > > > >> file.. > > > >> > > > >> > > > >> On Tue, 30 Mar 2004, Kalin Mintchev wrote: > > > >> > > > >>> On Tue, 30 Mar 2004, Tim Robinson wrote: > > > >>> > > > >>>> This was originally posted by Rob Marquardt. > > > >>>> > > > >>>> Here's a generic snippet that will take anything that's *not* a > > > >>>> file and > > > >>>> create a text variable of the same name as the ones passed in the > > > >>>> form (code > > > >>>> goes all on one line). > > > >>>> > > > >>>> [formvariables][hideif [url][name][/url]^filename=%22][text][middle > > > >>>> startAfter=name="&endBefore="][name][/middle]=[value][/text][/ > > > >>>> hideif][/formv > > > >>>> ariables] > > > >>> > > > >>> thanks... i kinda figured that out by looking at what the [name] > > > >>> from > > > >>> formvariables was returning... > > > >>> > > > >>> > > > >>>> > > > >>>> Regards, > > > >>>> Tim > > > >>>> > > > >>>>> From: Kalin Mintchev > > > >>>>> Reply-To: (WebDNA Talk) > > > >>>>> Date: Mon, 29 Mar 2004 23:52:03 -0500 (EST) > > > >>>>> To: (WebDNA Talk) > > > >>>>> Subject: multipart > > > >>>>> > > > >>>>> > > > >>>>> hi ... > > > >>>>> > > > >>>>> can anybody give a reasonable explanation of why if the form has > > > >>>>> multipart/form-data encryption type the only way to get the > > > >>>>> variables > > > >>>>> passed by the form is with [formvariables]? > > > >>>>> > > > >>>>> this basically means that i have to redeclair every passed > > > >>>>> variable to > > > >>>>> check of the form was filled correctly.. > > > >>>>> > > > >>>>> thanks... > > > >>>>> > > > > > > > > > ------------------------------------------------------------- > > > 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://webdna.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://webdna.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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: multipart part 2 ( Kalin Mintchev 2004)
  2. Re: multipart part 2 ( Kalin Mintchev 2004)
  3. Re: multipart part 2 ( Kalin Mintchev 2004)
  4. Re: multipart part 2 ( Kenneth Grome 2004)
  5. Re: multipart part 2 ( Brian Fries 2004)
  6. Re: multipart part 2 ( Kalin Mintchev 2004)
  7. Re: multipart part 2 ( Clint Davis 2004)
  8. Re: multipart part 2 ( Kalin Mintchev 2004)
On Thu, 1 Apr 2004, Kalin Mintchev wrote: > On Thu, 1 Apr 2004, Kalin Mintchev wrote: > > > On Thu, 1 Apr 2004, Brian Fries wrote: > > > > > Generally when you get a bunch of garbage returned it indicates that > > > WebDNA crashed while processing the page. Sounds like time disable most > > > of the processing code then add back one piece at a time until you find > > > where it breaks. > > if i have [formvariables] in the page it does the booboo. but i need the > tag for the form checking. again this wasn't happening before the > upgrade... > please try the code on your server - the webcat hasn't crashed because i'm > looking at the same processes before and after submitting the file. look > at the source code from the browser... ok. i think i got around - it happens if i show the form variables. if i only use that tag for checking the form content without displaying the [name] and [value] tags from [formvariables] appears to be working fine. is the [value] actually trying to display the actual image binary file??!? that will be... uhhh... how do you call it.... not logical?! sorry for the false alarm... it's not exactly a bug. but it might be. it wasn't there in the 4.5 > > > > > > the same code was fine yesterday before the upgrade... > > > > > > > > - brian > > > > > > On Apr 1, 2004, at 12:02 AM, Kalin Mintchev wrote: > > > > > > > > > > > hi all, > > > > > > > > well this time a webcat booboo.. > > > > > > > > we upgraded last night to wc 6.1 on one redhat 8 box.. > > > > i have problem with multipart forms - passing image files via post. > > > > here is the example - used for another thread here a few days ago when > > > > the > > > > image post was working: > > > > > > > > http://tribecaarts.com/tests/test_form.html > > > > > > > > if you choose an image file to pass with the form (right now it's not > > > > being copied to the server) you'll see all kinds of garbage. basically > > > > webcatalog is appending randomly pages from other domains on the same > > > > server?!?!?? > > > > what's up with that? i haven't touched that form after the upgrade took > > > > place last night... > > > > maybe somebody can copy and paste it on his/her server and let me know > > > > if > > > > its doing the same thing - it wasn't two days ago here... > > > > > > > > thanks... > > > > > > > > > > > > > > > > On Tue, 30 Mar 2004, Kalin Mintchev wrote: > > > > > > > >> > > > >> now - how do i get the value of the img field?! > > > >> > > > >> the browser returns garbage. i know that is some kind of local temp > > > >> path > > > >> but how do i pull it out from [formvariables] > > > >> > > > >> this is just for cosmetic purpose - like when the user has selected a > > > >> file but has done a booboo somewhere else - to avoid reselecting the > > > >> file.. > > > >> > > > >> > > > >> On Tue, 30 Mar 2004, Kalin Mintchev wrote: > > > >> > > > >>> On Tue, 30 Mar 2004, Tim Robinson wrote: > > > >>> > > > >>>> This was originally posted by Rob Marquardt. > > > >>>> > > > >>>> Here's a generic snippet that will take anything that's *not* a > > > >>>> file and > > > >>>> create a text variable of the same name as the ones passed in the > > > >>>> form (code > > > >>>> goes all on one line). > > > >>>> > > > >>>> [formvariables][hideif [url][name][/url]^filename=%22][text][middle > > > >>>> startAfter=name="&endBefore="][name][/middle]=[value][/text][/ > > > >>>> hideif][/formv > > > >>>> ariables] > > > >>> > > > >>> thanks... i kinda figured that out by looking at what the [name] > > > >>> from > > > >>> formvariables was returning... > > > >>> > > > >>> > > > >>>> > > > >>>> Regards, > > > >>>> Tim > > > >>>> > > > >>>>> From: Kalin Mintchev > > > >>>>> Reply-To: (WebDNA Talk) > > > >>>>> Date: Mon, 29 Mar 2004 23:52:03 -0500 (EST) > > > >>>>> To: (WebDNA Talk) > > > >>>>> Subject: multipart > > > >>>>> > > > >>>>> > > > >>>>> hi ... > > > >>>>> > > > >>>>> can anybody give a reasonable explanation of why if the form has > > > >>>>> multipart/form-data encryption type the only way to get the > > > >>>>> variables > > > >>>>> passed by the form is with [formvariables]? > > > >>>>> > > > >>>>> this basically means that i have to redeclair every passed > > > >>>>> variable to > > > >>>>> check of the form was filled correctly.. > > > >>>>> > > > >>>>> thanks... > > > >>>>> > > > > > > > > > ------------------------------------------------------------- > > > 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://webdna.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://webdna.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://webdna.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://webdna.smithmicro.com/ Kalin Mintchev

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:

All quiet (2004) How to Sort Summ data ? (1997) hyperlinking unique input strings on the fly when displaying in HTML (2000) Search Question (2003) [Announce] WebCatalog 3.0 Beta Program (1998) POSTing to a secure server ... (2000) too many nested tags ... (1997) WC TableGrinder (1997) notification solutions (1997) [WebDNA] Clean URLS job - will pay (2010) WebCat editing, SiteGuard & SiteEdit (1997) billing system (2003) Upgrading old WebCat Database Files (1997) Not really WebCat (1997) Question re: FlushDatabases (1997) Can you do this??? and other stuff (1997) Normalizing Dates and Phone numbers (2000) popups, netscape vs explorer (1997) Cart Numbers (1997) Formulas.db (1997)