Re: [WebDNA] Code works in v6 but not in v7
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105738
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?)?-Dan--------------------------------------------------From: "Kenneth Grome"
Sent: Saturday, August 28, 2010 8:39 PMTo: Subject: [WebDNA] Code works in v6 but not in v7> 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>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>
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?)?-Dan--------------------------------------------------From: "Kenneth Grome" Sent: Saturday, August 28, 2010 8:39 PMTo: Subject: [WebDNA] Code works in v6 but not in v7> 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>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>
"Dan Strong"
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:
Looking for Experienced WebDNA Developer (2006)
problems with 2 tags (1997)
Add a field to the error log? (1997)
flushdatabases (2000)
Security Question (1997)
OT: Web Cams (2003)
IE problems persist (2004)
NT considerations (1997)
RE: textA and Title? (1997)
Showif, Hideif reverse logic ? (1997)
Cookies? (1997)
Remove WebDNA context (2001)
WebCatalog2 Feature Feedback (1996)
[off] Promotions Co? (1997)
newbie question about zip code search (2003)
hidden (phantom) file downloads (2000)
[WebDNA] Upload file to mysql (2017)
Problem: 3.0 doesn't update carts (1997)
Beta Documentation (1997)
Not really WebCat- (1997)