Re: FW: Cookies, Dammit!

From: Date: Tue, 16 Jan 2001 23:36:54 +0000
Subject: Re: FW: Cookies, Dammit!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34923@lists.php.net to get a copy of this message
I hope you don't mind me nagging on this ;) but what do you mean by having to echo changes into the /minisite directories? What I meant was, from minisite45/index.htm, include() the same content include file you use in /index.htm. I'm not seeing why the /minisite<x>/index.htm pages need to change at all? The only thing that would change is the content of the include()'d file that /index.htm, and the minisite/index<x>.htm include. /index.htm <html> <etc etc> <body...> <? include "main_include.inc"; ?> </body> </html> main_include.inc: <some possible html tags> <? echo "Welcome". ($minisite ? " from $minisite" : "."); ?> <some possible html tags> /minisite45/index.htm <html stuff> <? $minisite = 45; /* or even a snip that dynamically gets it from the script_name */ include "main_include.inc"; ?> ----- Original Message ----- From: "Richard S. Crawford" <rscrawford@mossroot.com> To: "Jason Brooke" <jason@qgl.org>; "Richard S. Crawford" <rscrawford@mossroot.com> Cc: <php-general@lists.php.net> Sent: Wednesday, January 17, 2001 9:19 AM Subject: RE: [PHP] FW: Cookies, Dammit! > The first approach is actually what we do now. However, since /index.htm is > a dynamic page which changes frequently, we don't want to have to try to > echo all of those changes into all of the /minisite directories (of which > there are well over 100) every single time a change occurs. We're going to > try the second approach now, but we still are going to try to build the > query string of the Location: header based on values retrieved from a MySQL > database. > > -- > Richard S. Crawford > Senior Web Developer > NeuroHub, Inc. > (916)789-4167 / (530)307-0069(cell) > AIM Handle: Buffalo2K > http://www.neurohub.net

« previous php.general (#34923) next »