Add to a filename in multifile upload
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42276
interpreted = N
texte = 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/
Associated Messages, from the most recent to the oldest:
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/
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:
Multithreading of [replace] (1999)
Logging purchases (1997)
Bug? (1997)
WCS Newbie question (1997)
NTbeta18 corrupted? (1997)
Can you do this??? and other stuff (1997)
[OT] WebDNA Family Album (2004)
when is date system date or order date? (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Forms & Tables (1998)
Hiding my Source Code with W* (2000)
show all problem (1997)
[WriteFile] problems (1997)
CommandSecurity? (1997)
WebCat2 - storing unformatted date data? (1997)
PCS Frames (1997)
webstar in demo (2000)
PCS Emailer's role ? (1997)
convert characters (2003)
two unique banners on one page (1997)