Re: Setting a global variable

From: Date: Tue, 20 May 2003 19:58:33 +0000
Subject: Re: Setting a global variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148311@lists.php.net to get a copy of this message
You could use like mysql and store the variable in a table that also stores the ip... But that would screw with dynamic ips (those which changes all the time)... You could just add that value to $_GET by adding ?variblename=value to the qs, and have that code on all pages... I think phpMyAdmin does something like this... "Don" <donpro@lclcan.com> skrev i meddelandet news:006601c31f04$526a3c10$c889cdcd@enterprise... > Hi, > > Is there a way to set a PHP variable the first time a user enters a website > that will remain global throughout the entire site but does not use > sessions? It also does not depend on which page the user loads first (home > page or some other page from the web site) > > Thanks, > Don > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003 > >

« previous php.general (#148311) next »