URL'ed value not written to DB URL'ed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53532
interpreted = N
texte = I am submitting from a form where enctype=3D"multipart/form-data". The = variables are being URL'ed, but when I wrote them to the DB, they weren't = URL'ed... so, if I take the [ off of the replace, it shows everything as being URL'= ed, but when I open the database the %26 has been converted back to & The code is below... If I put the [formvariables] code directly into the = replace, it still does it. [!][/!] [formvariables] [showif [url][name][/url]^[url]sku[/url]] [text show=3Dt]sku=3D[value][/text]
[/showif] [showif [url][name][/url]^[url]txtSchool[/url]] [text show=3Dt]txtSchool=3D[url][value][/url][/text]
[/showif] [showif [url][name][/url]^[url]txtDate[/url]] [text show=3Dt]txtDate=3D[value][/text]
[/showif] [showif [url][name][/url]^[url]txtCaption[/url]] [text show=3Dt]txtCaption=3D[url][value][/url][/text]
[/showif] [/formvariables] [!][/!] [formvariables] [showif [url][name][/url]^[url]txtPhoto[/url]] [writefile file=3D[sku].[file_ext]][value][/writefile] [/showif] [/formvariables] [!][/!] [movefile from=3D[sku].[file_ext]&to=3D../images/photos/[sku].[file_ext]] [!][/!] [replace db=3D../dbs/photos.db&eqskudatarq=3D[sku]&append=3DT][!] [/!]sku=3D[sku]&[!] [/!]ext=3D[file_ext]&[!] [/!]school=3D[txtSchool]&[!] [/!]photo_date=3D[txtDate]&[!] [/!]photo_caption=3D[txtCaption][!] [/!][/replace] [commitdatabase ../dbs/photos.db] [!][/!] --=20 Matthew C. Bohne Web Developer Sandusky Register 314 W. Market St. Sandusky, OH 44870 419-625-5500 ext. 253 matthewbohne@sanduskyregister.com http://www.sanduskyregister.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: URL'ed value not written to DB URL'ed ( Kenneth Grome 2003)
  2. Re: URL'ed value not written to DB URL'ed ( Stuart Tremain 2003)
  3. Re: URL'ed value not written to DB URL'ed ( "WebDna @" 2003)
  4. Re: URL'ed value not written to DB URL'ed ( Kenneth Grome 2003)
  5. Re: URL'ed value not written to DB URL'ed ( Brian Fries 2003)
  6. URL'ed value not written to DB URL'ed ( Matthew Bohne 2003)
I am submitting from a form where enctype=3D"multipart/form-data". The = variables are being URL'ed, but when I wrote them to the DB, they weren't = URL'ed... so, if I take the [ off of the replace, it shows everything as being URL'= ed, but when I open the database the %26 has been converted back to & The code is below... If I put the [formvariables] code directly into the = replace, it still does it. [!][/!] [formvariables] [showif [url][name][/url]^[url]sku[/url]] [text show=3Dt]sku=3D[value][/text]
[/showif] [showif [url][name][/url]^[url]txtSchool[/url]] [text show=3Dt]txtSchool=3D[url][value][/url][/text]
[/showif] [showif [url][name][/url]^[url]txtDate[/url]] [text show=3Dt]txtDate=3D[value][/text]
[/showif] [showif [url][name][/url]^[url]txtCaption[/url]] [text show=3Dt]txtCaption=3D[url][value][/url][/text]
[/showif] [/formvariables] [!][/!] [formvariables] [showif [url][name][/url]^[url]txtPhoto[/url]] [writefile file=3D[sku].[file_ext]][value][/writefile] [/showif] [/formvariables] [!][/!] [movefile from=3D[sku].[file_ext]&to=3D../images/photos/[sku].[file_ext]] [!][/!] [replace db=3D../dbs/photos.db&eqskudatarq=3D[sku]&append=3DT][!] [/!]sku=3D[sku]&[!] [/!]ext=3D[file_ext]&[!] [/!]school=3D[txtSchool]&[!] [/!]photo_date=3D[txtDate]&[!] [/!]photo_caption=3D[txtCaption][!] [/!][/replace] [commitdatabase ../dbs/photos.db] [!][/!] --=20 Matthew C. Bohne Web Developer Sandusky Register 314 W. Market St. Sandusky, OH 44870 419-625-5500 ext. 253 matthewbohne@sanduskyregister.com http://www.sanduskyregister.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://webdna.smithmicro.com/ Matthew Bohne

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:

WC2b12: Yes, Formulas.db is for real (1997) [url] link (1998) Mozilla/4. and Browser Info.txt (1997) WebCat editing, SiteGuard & SiteEdit (1997) Re:Formulas.db / Quantity Discount problem (1998) OT: SSL Certs (2005) WebDNA Quick Reference (Reserved Words) (2000) What am I missing? (1998) MacAuthorize order data fields WAS:How To question... (1997) WebCatalog can't find database (1997) # fields limited? (1997) Country & Ship-to address & other fields ? (1997) Server Freeze (1998) Add to a field (1998) Math Function (1997) [shownext] support - MacOS (1997) Re:Has this happened to you? (1997) no global [username] or [password] displayed ... (1997) List Test (2004) emailer cc to figured out (1997)