Re: Image Upload?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40912
interpreted = N
texte = On 6/25/02 12:44 PM, Jason Ludwig wrote:> I have checked the archives and found very little info. > Here is my problem. > > I would like to be able to append info into a database and upload an image > with the click of one submit button. The image name and other form fields > should be written to a database and the image be uploaded to a specified > directory. > > Any information or code would be greatly appreciated.I've written code to do this before but it's pretty sepcific so I don't think It would be any help.Essentially I named my fields that I wanted to write to the database ||__ and then did a normal image upload. Then, when I was to do the database write part I did:[formvariables name=||__&exact=f][middle startafter=||__&endbefore=][name][/middle]=[url][value][/url]&[/formvariabl es]Seemed to work ok. -- Jesse Williams-Proudman || CEO NineWire Digital Solutions || +1.888.873.6199 jesse@ninewire.com || http://ninewire.com Mac Web Hosting & Colocation || Mac Nationwide Dialup $75 Xserve Colocation Special from Your Mac ISP! ------------------------------------------------------------- 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: Image Upload? (Jesse Williams-Proudman 2002)
  2. Image Upload? (Jason Ludwig 2002)
On 6/25/02 12:44 PM, Jason Ludwig wrote:> I have checked the archives and found very little info. > Here is my problem. > > I would like to be able to append info into a database and upload an image > with the click of one submit button. The image name and other form fields > should be written to a database and the image be uploaded to a specified > directory. > > Any information or code would be greatly appreciated.I've written code to do this before but it's pretty sepcific so I don't think It would be any help.Essentially I named my fields that I wanted to write to the database ||__ and then did a normal image upload. Then, when I was to do the database write part I did:[formvariables name=||__&exact=f][middle startafter=||__&endbefore=][name][/middle]=[url][value][/url]&[/formvariabl es]Seemed to work ok. -- Jesse Williams-Proudman || CEO NineWire Digital Solutions || +1.888.873.6199 jesse@ninewire.com || http://ninewire.com Mac Web Hosting & Colocation || Mac Nationwide Dialup $75 Xserve Colocation Special from Your Mac ISP! ------------------------------------------------------------- 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/ Jesse Williams-Proudman

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:

WC2b15 - [HTMLx]...[/HTMLx] problems (1997) how to get s repeatedly in and out of a form? (1999) WebMerchant 1.6 and https (1997) auto adding SKUs w/DB helper (1998) [WebDNA] Partner Edition Tags (2011) Design Help Needed (1998) BBEdit and WebCatalog 2.0? (1997) [OT] Friday Time Waster (2003) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) RequiredFields template (1997) comparison to Lasso 6 or 7 (2004) Size limit for tmpl editor ? (1997) REPOST: How do _you_ back up your db? (2000) Re[2]: New syntax feedback for 4.0 (2000) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [/application] error? (1997) service stop and restart (1997) WC2f3 (1997) Sort Order on a page search (1997) WebCatalog for Postcards ? (1997)