Re: Add to a filename in multifile upload

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42281
interpreted = N
texte = You could start by giving each upload a unique name:
Photo 1:

Photo 2:

Photo 3:

Photo 4:

-- Stuart Tremain idfk web developments - AustraliaOn 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][/text][/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/ 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)
You could start by giving each upload a unique name:
Photo 1:

Photo 2:

Photo 3:

Photo 4:

-- Stuart Tremain idfk web developments - AustraliaOn 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][/text][/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/ Stuart Tremain

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:

japanese characters (1997) WebCatalog2 for NT Beta Request (1997) X Server (1999) Add a field to the error log? (1997) Summary search -- speed (1997) Custom Shipping Charges (1997) [ConvertChars] problem (1997) Fun with dates (1997) Re(2): NT version and O'reily's WebSite (1997) Where's Cart Created ? (1997) typhoon vs. webcatalog (1997) ErrorMessages.db (2004) [OT] Airport Problem (2003) Beta (?) version of WebCatalog 2.1 (1998) Variable Prices (1998) Email notification to one of multiple vendors ? (1997) Last Record not recognized? (1999) gremlins? (2000) [WebDNA] OT: Anyone implemented markitup? (2012) RE: Include (1998)