Re: phplib

From: Date: Sun, 27 Jan 2002 22:35:31 +0000
Subject: Re: phplib
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-82327@lists.php.net to get a copy of this message
Well, when giving the flexibility to the user to change the look of a program, it is impossible to track wether the user leaves your program copy right code in the template... so, if the {copyright} variable doesnt exist, just display the copy right info.. if {copyright} exists, replace it... simple... Regards, Kunal Jhunjhunwala ----- Original Message ----- From: "Nick Wilson" <nick@explodingnet.com> To: "php-list" <php-general@lists.php.net> Sent: Monday, January 28, 2002 3:57 AM Subject: Re: [PHP] phplib > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > * and then Kunal Jhunjhunwala blurted.... > > hey... > > i was wondering, is there any way to check wether the replacing of a > > variable failed or no? example : > > {one} > > > > $t->set_var("one", "1"); > > > > I want to know wether one was replaced by 1.. or wether the term "one" > > exists at all in the template.. any ideas on how to find this out? > > No. Not AFAIK > What are the circumstances Kunal? > > - -- > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8VH7vHpvrrTa6L5oRAttnAJ0cE6ispcu22bd+mnnuN8PEljOx+QCfUKvE > 69/xTQAg2jM28XU2rglVFtQ= > =EUJK > -----END PGP SIGNATURE----- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > >

« previous php.general (#82327) next »