Re: upload images and other data

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37353
interpreted = N
texte = This can be tricky, have a look through the way that is is done in storebuilder. The files to look for are upload.tpl, upload_file.tpl and upload_file@.tplIt is a matter of collecting the variables and then devising a way to make them work for you. You will have to make use of the [Middle] tag.Put [FormVariables] [index] - [name] - [value]
[/FormVariables]into your returning page so you can see how things are being passed and work out what you need and how to use it from there.Once you get the hang of what is happening, it is fairly easy. -- Stuart Tremain IDFK Web Developments stuart@idfk.com.au 101/12 Waters Rd Neutral Bay 2089 Australia Phone +612 9908 2134On Monday, 23 July 2001, Kalin Mintchev wrote: > >hi > >i have this problem: > >have a form that needs to be filled out and attach a image to upload. >the form that uploads the image has this in the
tag: >ENCTYPE=multipart/form-data >when i submit the form the image gets uploaded but the other variables are >not passed. if i take out the ENCTYPE=multipart/form-data out of the > tag the variables are getting pased but the image is not uploaded >i need to relate the uploaded image and the data in the form that's why i >need for both things to happand in the same time... > >how can i do it? > >thank you > > > > > > >------------------------------------------------------------- >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: upload images and other data (Kalin Mintchev 2001)
  2. Re: upload images and other data (Stuart Tremain 2001)
  3. upload images and other data (Kalin Mintchev 2001)
This can be tricky, have a look through the way that is is done in storebuilder. The files to look for are upload.tpl, upload_file.tpl and upload_file@.tplIt is a matter of collecting the variables and then devising a way to make them work for you. You will have to make use of the [middle] tag.Put [formvariables] [index] - [name] - [value]
[/FormVariables]into your returning page so you can see how things are being passed and work out what you need and how to use it from there.Once you get the hang of what is happening, it is fairly easy. -- Stuart Tremain IDFK Web Developments stuart@idfk.com.au 101/12 Waters Rd Neutral Bay 2089 Australia Phone +612 9908 2134On Monday, 23 July 2001, Kalin Mintchev wrote: > >hi > >i have this problem: > >have a form that needs to be filled out and attach a image to upload. >the form that uploads the image has this in the tag: >ENCTYPE=multipart/form-data >when i submit the form the image gets uploaded but the other variables are >not passed. if i take out the ENCTYPE=multipart/form-data out of the > tag the variables are getting pased but the image is not uploaded >i need to relate the uploaded image and the data in the form that's why i >need for both things to happand in the same time... > >how can i do it? > >thank you > > > > > > >------------------------------------------------------------- >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:

[input] context (1999) Parameter Problem ATTN: Ken Grome (1998) [OT] Appropriate Signature??? (2003) Emailer (1997) [OT] - Block Traffic to DevBox (2003) SMITH MICRO: FW: Emailer stops on Win 2000 (2002) pc (1997) Writing to disk (1999) and vs or vs not (1998) Re:Remote stockroom ? (1998) F3 crashing server (1997) [DOS]/DOS query - A SOLUTION (2003) .. more on sliding discounts... (1997) WebCat2: Items xx to xx shown, etc. (1997) Problem (1997) nested context (1998) update on wn searching (1997) SandBox and ImageMagick (2003) [shell} (2005) RE: textA and Title? (1997)