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:

Dealing with da back button (1999) Multiple catalog databases and showcart (1997) Dark Horse Comics success story (1997) Delete only one duplicate record? (2003) Will webdna execute before a [redirect]? (1999) WebCatalog can't find database (1997) Re:2nd WebCatalog2 Feature Request (1996) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Final Receipt (1999) Webcat no longer supported? (2006) Paths relative to root not working (2000) won't serve .tpl -index.tpl gone, made test.tpl (2000) E-mailer error codes (1997) Here we go again... (2006) WebTen and WebCat (1997) extending webcatalog (1997) [returnraw] and form variables (1998) Browser Info.txt (1997) NT vs Mac (1997) Not really WebCat (1997)