Re: Setting vars in a text file.....
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57863
interpreted = N
texte = If qou want to store a variable on the SAME template you can use[text]myvar=3Dmyvalue[/text]If you want to store MANY variables on the SAME template:[text multi=3DT]myvar=3Dmyvalue&myvar2=3Dmyvalue2[/text]Of if you want to store man< variables on the SAME page again, there is als=othe [table] tag.But if you need to store a variable "overall" you have the options to creat=ea database, with the values of the user which you can get anytime anywhere.The other option is to use a cookie as you have mentioned.NitaiPS: There might be another way, but I cant think of it now :-)On 17/5/04 2:12 PM, "Alan White"
wrote:> Hi>=20> I am trying to store a variable in a text file that contains information =on> what currency a user wants to view. However when I am trying to do so it= is> not doing what I wanted.>=20> What is the best way to write more than one variable to a file and then p=ull> this file as an include to get the values of the vars?>=20> I don't even know if this is the best way to do this but I wanted to avoi=d> the use of cookies.>=20> Any help appreciated.>=20> Alan>=20>=20>=20> -------------------------------------------------------------> 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/>=20--Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.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:
If qou want to store a variable on the SAME template you can use[text]myvar=3Dmyvalue[/text]If you want to store MANY variables on the SAME template:[text multi=3DT]myvar=3Dmyvalue&myvar2=3Dmyvalue2[/text]Of if you want to store man< variables on the SAME page again, there is als=othe [table] tag.But if you need to store a variable "overall" you have the options to creat=ea database, with the values of the user which you can get anytime anywhere.The other option is to use a cookie as you have mentioned.NitaiPS: There might be another way, but I cant think of it now :-)On 17/5/04 2:12 PM, "Alan White" wrote:> Hi>=20> I am trying to store a variable in a text file that contains information =on> what currency a user wants to view. However when I am trying to do so it= is> not doing what I wanted.>=20> What is the best way to write more than one variable to a file and then p=ull> this file as an include to get the values of the vars?>=20> I don't even know if this is the best way to do this but I wanted to avoi=d> the use of cookies.>=20> Any help appreciated.>=20> Alan>=20>=20>=20> -------------------------------------------------------------> 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/>=20--Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.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/
"Nitai @ ComputerOil"
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:
Webcat/Webmerchant part II (1998)
Dubble Sku's in a Database (1999)
WebCat2b12--[searchstring] bug (1997)
Nested vs conditional (1997)
Banner DNA (1997)
Grouping fields help (2004)
passing cart value (2003)
F*** you (1998)
LookUp Tag (1997)
'does not contain' operator needed ... (1997)
Stop the madness. (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Can you do this??? and other stuff (1997)
OT - royalty free images (2002)
[WebDNA] shopping sites and the "old commerce tags" (2012)
URL for Discussion Archive (1997)
file upload type restrictions? (2001)
Updating a database once per day - An example (1998)
WebCatalog2 Feature Feedback (1996)
Summing fields (1997)