Multi file HTTP upload

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38323
interpreted = N
texte = Anyone got any idea why this code does not work in this scenario:A previous .tpl presents the user with the ability to upload two images at once. If the user uploads only one file (being the first here, file1), it works. BUT if the user tries to upload only the second file (being file2), the upload is not successful.Here is the code snippet that appears to be causing the problem; [text]thename1=[/text] [formvariables] [showif [url][name][/url]^[url]file1[/url]] [text]file1=[value][/text] [/showif] [/formvariables][text]thename1=[/text] [formvariables] [showif [url][name][/url]^[url]thename1[/url]] [text]thename1=[value][/text] [/showif] [/formvariables][hideif [file1]=] [formvariables] [showif [url][name][/url]^[url]file1[/url]] [writefile file=graphstyles/logostyle/[graphstyle]/[thename1]&secure=F][value][/writefile] [/showif] [/formvariables] [Text]filetype=[include file=wgraphs/[thename1]][/Text][/hideif] [text]thename2=[/text] [formvariables] [showif [url][name][/url]^[url]file2[/url]] [text]file2=[value][/text] [/showif] [/formvariables] [text]thename2=[/text] [formvariables] [showif [url][name][/url]^[url]thename2[/url]] [text]thename2=[value][/text] [/showif] [/formvariables] [hideif [file2]=] [formvariables] [showif [url][name][/url]^[url]file2[/url]] [writefile file=graphstyles/tabstyles/atabs/[graphstyle]/[thename2]&secure=F][value][/writefile] [/showif] [/formvariables] [Text]filetype=[include file=graphstyles/tabstyles/atabs/[graphstyle]/[thename2]][/Text] [/hideif] Thanks for your help!jeff __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Multi file HTTP upload (Jeff Grady 2001)
  2. Multi file HTTP upload (Jeff Grady 2001)
Anyone got any idea why this code does not work in this scenario:A previous .tpl presents the user with the ability to upload two images at once. If the user uploads only one file (being the first here, file1), it works. BUT if the user tries to upload only the second file (being file2), the upload is not successful.Here is the code snippet that appears to be causing the problem; [text]thename1=[/text] [formvariables] [showif [url][name][/url]^[url]file1[/url]] [text]file1=[value][/text] [/showif] [/formvariables][text]thename1=[/text] [formvariables] [showif [url][name][/url]^[url]thename1[/url]] [text]thename1=[value][/text] [/showif] [/formvariables][hideif [file1]=] [formvariables] [showif [url][name][/url]^[url]file1[/url]] [writefile file=graphstyles/logostyle/[graphstyle]/[thename1]&secure=F][value][/writefile] [/showif] [/formvariables] [text]filetype=[include file=wgraphs/[thename1]][/Text][/hideif] [text]thename2=[/text] [formvariables] [showif [url][name][/url]^[url]file2[/url]] [text]file2=[value][/text] [/showif] [/formvariables] [text]thename2=[/text] [formvariables] [showif [url][name][/url]^[url]thename2[/url]] [text]thename2=[value][/text] [/showif] [/formvariables] [hideif [file2]=] [formvariables] [showif [url][name][/url]^[url]file2[/url]] [writefile file=graphstyles/tabstyles/atabs/[graphstyle]/[thename2]&secure=F][value][/writefile] [/showif] [/formvariables] [text]filetype=[include file=graphstyles/tabstyles/atabs/[graphstyle]/[thename2]][/Text] [/hideif] Thanks for your help!jeff __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.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://search.smithmicro.com/ Jeff Grady

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:

WebMerchant -- Sweeping WebDelivery < 24 hrs (2000) [date format] w/in sendmail (1997) verify online (1997) Sort Order on a page search (1997) [WC 2.1.30] Stack overflow. (2000) possible, WebCat2.0 and checkboxes-restated (1997) Cart ID Duplication (2001) A question on sub-categories (1997) Cookies (1999) Emailer help....! (1997) protect tag not working (1998) Extended [ConvertChars] (1997) [WebDNA] Virtual server (2011) WebDNAReference (2000) Cart Numbers (1997) More than one db with the same namn (was: WC2f3) (1997) Can't get appendfile to work (1997) Searching multiple fields from one form field (1997) Using the new syntax/scoping methods (2000) Problems appending to database (1997)