Re: Add to a filename in multifile upload

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42282
interpreted = N
texte = this makes it all fail. nothing gets uploaded If I remove the [formvariables] parts the file name becomes [theFile1] etc not the actual file name At 01:54 PM 8/6/02, you wrote: >You could start by giving each upload a unique name: > >
>Photo 1:

>Photo 2:

>Photo 3:

>Photo 4:

> >

> > > > > > > >-- >Stuart Tremain >idfk web developments - Australia > >On Tuesday, 6 August 2002, Lester Emo wrote: > >I have people upload photos files for ad listings and I'm trying to > >identify them after uploading. > > > >I'd like to be able to add something to each filename entered during the > >upload process, maybe their name so I can later identify which ad the > >photo(s) belongs to. Reason for this is usually the photos need to be > >worked over before they are made available to view on the > >website . . . > > > >Can I do this??? > >I haven't been successful tinkering with it this evening. > > > > > >This is the multifile upload code I'm using . . . > > > > > > > >on my submit the photos page: > > > >SUBMIT PHOTOGRAPHS: > >

> >

> >Photo 1:

> >Photo 1:

> >Photo 1:

> >Photo 1:

> > > >

> > > > > > > > > >on my submitphotos.tpl page: > > > >[formvariables] > >[showif [url][name][/url]^[url]theFile[/url]] > > > >[text]theFilename=[middle > >StartAfter=filename=&EndBefore=][name][/middle][/text] > > > >[showif [url][theFilename][/url]^[url]:\[/url]][listwords > >words=[url][theFilename][/url]&delimiters=\][text]tempFilename=[word][/te > xt][/listwords] > >[!] -- fix for Windows' goofy full-path names [/!] > >[text]theFilename=[tempFilename][/text] > >[/showif] > > > >[writefile file=[theFilename]&secure=F] > >[value] > >[/writefile] > > > >[/showif] > >[/formvariables] > > > > > > > > > >lester > > > > > > > >------------------------------------------------------------- > >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/ > > > > > >------------------------------------------------------------- >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/ ------------------------------------------------------------- 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: Add to a filename in multifile upload (Rob Marquardt 2002)
  2. Re: Add to a filename in multifile upload (Lester Emo 2002)
  3. Re: Add to a filename in multifile upload (Stuart Tremain 2002)
  4. Re: Add to a filename in multifile upload (Kenneth Grome 2002)
  5. Add to a filename in multifile upload (Lester Emo 2002)
this makes it all fail. nothing gets uploaded If I remove the [formvariables] parts the file name becomes [theFile1] etc not the actual file name At 01:54 PM 8/6/02, you wrote: >You could start by giving each upload a unique name: > >
>Photo 1:

>Photo 2:

>Photo 3:

>Photo 4:

> >

> > > > > > > >-- >Stuart Tremain >idfk web developments - Australia > >On Tuesday, 6 August 2002, Lester Emo wrote: > >I have people upload photos files for ad listings and I'm trying to > >identify them after uploading. > > > >I'd like to be able to add something to each filename entered during the > >upload process, maybe their name so I can later identify which ad the > >photo(s) belongs to. Reason for this is usually the photos need to be > >worked over before they are made available to view on the > >website . . . > > > >Can I do this??? > >I haven't been successful tinkering with it this evening. > > > > > >This is the multifile upload code I'm using . . . > > > > > > > >on my submit the photos page: > > > >SUBMIT PHOTOGRAPHS: > >

> >

> >Photo 1:

> >Photo 1:

> >Photo 1:

> >Photo 1:

> > > >

> > > > > > > > > >on my submitphotos.tpl page: > > > >[formvariables] > >[showif [url][name][/url]^[url]theFile[/url]] > > > >[text]theFilename=[middle > >StartAfter=filename=&EndBefore=][name][/middle][/text] > > > >[showif [url][theFilename][/url]^[url]:\[/url]][listwords > >words=[url][theFilename][/url]&delimiters=\][text]tempFilename=[word][/te > xt][/listwords] > >[!] -- fix for Windows' goofy full-path names [/!] > >[text]theFilename=[tempFilename][/text] > >[/showif] > > > >[writefile file=[theFilename]&secure=F] > >[value] > >[/writefile] > > > >[/showif] > >[/formvariables] > > > > > > > > > >lester > > > > > > > >------------------------------------------------------------- > >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/ > > > > > >------------------------------------------------------------- >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/ ------------------------------------------------------------- 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/ Lester Emo

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:

[WebDNA] A new commerce system for v7+ (2011) Maximum Found Items (2000) SiteEdit NewFile.html ? (1997) Extended [ConvertChars] (1997) Nested tags count question (1997) Erotic Sites (1997) [cart] tag (2000) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Credit card processing - UK (1997) Editing the search string (1997) [WebDNA] Exclude found items in a 2nd search (2016) 2.0 Beta (1997) [BoldWords] WebCat.acgib15Mac (1997) Music in background (2000) Does TCPconnect/TCPsend do multiples? (2000) Cookie and Domain Names (2005) Old $ commands and migration (2004) More NT encyption!! (1999) 5.0 Pricing (2003) WebCat2b13MacPlugIn - syntax to convert date (1997)