Re: [WebDNA] Code works in v6 but not in v7
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105739
interpreted = N
texte = > [showif [url][name][/url]^[url]"task"[/url]]> > would the quotes inside the [url] throw off > the comparison (i.e. the quotes are url-ized?)?It would if this were a typical comparison of "regular" formvariable names, but this is a comparison of the formvariable names that exist when uploading a file. They look different from regular formvariables because of the:enctype="multipart/form-data" part of the form tag, so they have to be treated like this. Besides, the code works fine in v6 but not in v7 and this difference is what I'm concerned about. The same code should work (or not work) in both versions but it works in v6 and breaks in v7.BTW, I downloaded and tested Pat McCormick's 2004 file uploader script from the old archives (thanks for the link Govinda) and that code works in v6 but not in v7 too ... so there definitely seems to be a problem in v7.Sincerely,Kenneth Grome
Associated Messages, from the most recent to the oldest:
> [showif
[url][name][/url]^
[url]"task"[/url]]> > would the quotes inside the
[url] throw off > the comparison (i.e. the quotes are url-ized?)?It would if this were a typical comparison of "regular" formvariable names, but this is a comparison of the formvariable names that exist when uploading a file. They look different from regular formvariables because of the:enctype="multipart/form-data" part of the form tag, so they have to be treated like this. Besides, the code works fine in v6 but not in v7 and this difference is what I'm concerned about. The same code should work (or not work) in both versions but it works in v6 and breaks in v7.BTW, I downloaded and tested Pat McCormick's 2004 file uploader script from the old archives (thanks for the link Govinda) and that code works in v6 but not in v7 too ... so there definitely seems to be a problem in v7.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:
Document Contains No Data! (1997)
HTML editing and webcatalog (2000)
OT - Friday afternoon Fun with Toys (2002)
[ShowIf] and empty fields (1997)
Listfiles (1998)
Initiating NewCart (1997)
tcpconnect/tcpsend frustrations (2002)
a * question (2003)
and passing to a cart (1997)
Purchase command error problem (1997)
Line items in table cells (1997)
Attention all list readers (1997)
FAX orders (1996)
Banners (1997)
Cart Question: The Epic Saga (1998)
Form Validation (2000)
many-to-one problem (1998)
WebCatalog can't find database (1997)
expired beta (1997)
Can [writefile] files be served thru webcat? (2000)