Re: multipart part 2

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57207
interpreted = N
texte = 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. 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/ 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, 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. 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/ 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:

Intermitent problem using [referrer] (1997) HTML encoding in URLs (1997) carriage returns in data (1997) For those of you not on the WebCatalog Beta... (1997) Database Upload (2000) Showif ~ Netscape : Showif ~ MSIE (2001) Conditional searching & displaying (1997) Great product and great job ! (1997) Displaying Location (1997) More than one db with the same namn (was: WC2f3) (1997) Help! WebCat2 bug (1997) Location of Webcat site in folder hierarchy (1997) 2.0Beta Command Ref (can't find this instruction) (1997) About the Allow 'Absolute Path' Prefix (2002) F3 crashing server (1997) Search/sort in URL Was: GuestBook example (1997) Re:Variable Math (1998) Nested vs conditional (1997) WebCat2.0 [format thousands .0f] no go (1997) Invoice in another window (1998)