Re: [PHP4BETA] <?=

From: Date: Fri, 11 Jun 1999 14:33:46 +0000
Subject: Re: [PHP4BETA] <?=
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1494@lists.php.net to get a copy of this message
On Fri, 11 Jun 1999, Rasmus Lerdorf wrote: > > > or something similar. Assuming of course that <?= would work on defines, > > > but I don't see why it wouldn't. > > > > I'm not following you here - <?= works on constants, but how does that > > help us? > > The session module could do something like: > > define("SESS","session=".$session_string); Ah, ok. So you mean we'd tell people to write URLs like this: <a href="http://foo.bar/foo.php?<?=SESS?>&..."> Sounds good to me. Zeev -- ----------------------------------------------------- Zeev Suraski <zeev@zend.com> For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#1494) next »