Re: variable value locked when passed to include
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36954
interpreted = N
texte = On 7/3/01 2:51 PM, Gene Beljaeff
wrote:> But what is the value of [uname] after it exits the include file?> > I'll bet is now changed to someoneelse. (At least it was for me)> > I think this is strange behavior.> > GeneActually he was talking about doing this:Somepage.tpl has an include on it is calls [includefile=thatpage.tpl&uname=[uname]]In that include is this statement set:[uname][text show=F]uname=someoneelse[/text][uname]He wanted to override the variable that was sent to the include within thestatement set. Since it acts a formvariable you.You are correct if you display the values on somepage.tpl then they will notpick up what you sent to the include.Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.You best get your MIME right, and I mean RIGHT!-------------------------------------------------------------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:
On 7/3/01 2:51 PM, Gene Beljaeff wrote:> But what is the value of [uname] after it exits the include file?> > I'll bet is now changed to someoneelse. (At least it was for me)> > I think this is strange behavior.> > GeneActually he was talking about doing this:Somepage.tpl has an include on it is calls [includefile=thatpage.tpl&uname=[uname]]In that include is this statement set:[uname][text show=F]uname=someoneelse[/text][uname]He wanted to override the variable that was sent to the include within thestatement set. Since it acts a formvariable you.You are correct if you display the values on somepage.tpl then they will notpick up what you sent to the include.Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.You best get your MIME right, and I mean RIGHT!-------------------------------------------------------------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/
Bob Minor
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:
creator code (1997)
[WebDNA] Is [math] on a number with too many digits the only (2011)
Tip: upgrading to WebCatalog 3.x, fields to watch for (1999)
Listserver problem (1997)
customizing the color of user's pages (1997)
Fun with Dates - revisited (1997)
WebCatalog stalls (1998)
Can't test the beta (2000)
Math Bug (1999)
WCS Newbie question (1997)
[WriteFile] problems (1997)
SSL and reg web* (1997)
Problems with AOHell (1999)
Multiple SSL Keys (1998)
Webcatalog/Butler (1998)
WebCatalog Hosting (1996)
Webcat & SIMS (1998)
[ADDLINEITEM] hangs Web* (1998)
Payment Calculator (2000)
Another webcatalog site!! (1997)