[WebDNA] Code works in v6 but not in v7

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105734
interpreted = N
texte = I'm writing a file upload script, it works in v6 but not in v7. It seems there is something strange going on in the formvariables context when the file is being uploaded. Here's the source code: [text secure=f]task=[/text] [formvariables] [showif [url][name][/url]^[url]"task"[/url]] [text]task=upload[/text] [/showif] [/formvariables] [text]uploadPath=upFile.db[/text] [showif [task]=] Upload the file:
[/showif] [showif [task]=upload] [formvariables] [showif [url][name][/url]^[url]"upFile"[/url]] [writefile file=[uploadPath]][value][/writefile] [/showif] [/formvariables] [text]task=match[/text] [/showif] This code works properly in v6 but not in v7 so something seems to be buggy in v7. When I compare the two by viewing source there's a huge section of blank lines after the comment: ... so my guess is that the first formvariables loop on this page is where the problem lies in v7 but not in v6. Sincerely, Kenneth Grome Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Code works in v6 but not in v7 (Stuart Tremain 2010)
  2. Re: [WebDNA] Code works in v6 but not in v7 (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] Code works in v6 but not in v7 (Kenneth Grome 2010)
  4. Re: [WebDNA] Code works in v6 but not in v7 (christophe.billiottet@webdna.us 2010)
  5. Re: [WebDNA] Code works in v6 but not in v7 ("Dan Strong" 2010)
  6. Re: [WebDNA] Code works in v6 but not in v7 (Kenneth Grome 2010)
  7. Re: [WebDNA] Code works in v6 but not in v7 ("Dan Strong" 2010)
  8. [WebDNA] Code works in v6 but not in v7 (Kenneth Grome 2010)
I'm writing a file upload script, it works in v6 but not in v7. It seems there is something strange going on in the formvariables context when the file is being uploaded. Here's the source code: [text secure=f]task=[/text] [formvariables] [showif [url][name][/url]^[url]"task"[/url]] [text]task=upload[/text] [/showif] [/formvariables] [text]uploadPath=upFile.db[/text] [showif [task]=] Upload the file:
[thisurl]" method="post" ENCTYPE="multipart/form-data">
[/showif] [showif [task]=upload] [formvariables] [showif [url][name][/url]^[url]"upFile"[/url]] [writefile file=[uploadPath]][value][/writefile] [/showif] [/formvariables] [text]task=match[/text] [/showif] This code works properly in v6 but not in v7 so something seems to be buggy in v7. When I compare the two by viewing source there's a huge section of blank lines after the comment: ... so my guess is that the first formvariables loop on this page is where the problem lies in v7 but not in v6. Sincerely, Kenneth Grome Kenneth Grome

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:

[Q] Novice's question (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) WebCatalog f2 Installation (1997) WCf2 and nested tags (1997) multiple db's (2003) Banner Ad example (Typhoon) and WebCatalog (1997) Universal root for WC errors? (1997) [format xs] freeze (1997) emailer w/F2 (1997) Cart Numbers (1997) Setting up the server (1997) off-topic: SMS interface? (2001) WebCat2.0 [format thousands .0f] no go (1997) Calculating Shipping (1997) Reload of the shoppingcart.tmpl page (1999) NT beta ReadMe missing (b12-b15) (1997) Progress !! WAS: Trouble with formula.db (1997) ReturnRaw context (1997) Re:Copyright ? (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997)