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:
-- Stuart Tremainidfk 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:>>
>>>>>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:
You could start by giving each upload a unique name:-- Stuart Tremainidfk 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:>>
>>>>>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:
Forms (1997)
Max Record length restated as maybe bug (1997)
Credit card number for testing (2003)
WebDNA Solutions ... sorry! (1997)
RE: Auto conversion of URLs? (1998)
why do I get authorization requests, even though (1999)
Sendmail (SMTP) coming from smithmicro.com (2002)
calculating tax rates, mail order solutions and version 2 (1997)
WC2.0 Memory Requirements (1997)
Cookies and WebCat?? (1999)
reversing the effects of [url] (1997)
determining plug-ins? (1998)
WebCat2b12--[searchstring] bug (1997)
[OT] What System Software? (2003)
[WebDNA] directory protection questions (2008)
Upgrading old WebCat Database Files (1997)
Multi-User Security on *nix using mod_rewrite (2002)
OT - SMSI complaint (2001)
Multiple Merchant Accounts? (1997)
[WebDNA] Putting '&search' into URL killing all search contexts on my sites (2010)