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 ionly 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 binaryfile??!?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. itwasn'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:
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 ionly 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 binaryfile??!?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. itwasn'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:
Re1000001: Setting up shop (1997)
Further on formula.db failure to calculate shipCost (1997)
weiered lookup (2004)
multiple databases (1997)
Using [sendmail] for mass mailings (2001)
Re:Can this be done? (1997)
Emailer setup (1997)
Templates on Unix & CGI on Mac? (1997)
Secure server question (1997)
NY taxRates.db? (1997)
Need help with emailer- 2 issues (1997)
[OT] Xserve (2002)
WebCat2 beta 11 - new prefs ... (1997)
WebCatalog 3.0.8 BUG ON OSX (2000)
POST (1997)
Nested tags count question (1997)
problems with 2 tags (1997)
[WebDNA] Integrating a HTML Parser (2013)
ErrorLog.txt (1999)
Web Catalog vs. ICAT (1997)