Re: Fussy logic...

From: Date: Thu, 16 Aug 2001 08:45:36 +0000
Subject: Re: Fussy logic...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62999@lists.php.net to get a copy of this message
On Thu, Aug 16, 2001 at 10:38:56AM +0200, Tribun wrote: > yapp. > > I know the JS-function, but I was curious if someone knows an beautifuller > solution. > > something neater ;) Okay... Well... then you should store the history yourself (eg. in a session or db). But then again... the $HTTP_REFERER isn't something to rely on. So then you'll need to store the current page in the history session/db. That way you always have the correct URL because it's the URL of the page the user is using. How much can go wrong with that? I think that's the best way. Actually I think it's even (a lot) better then the JS solution I mentioned. -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- H: +31 23 5516190 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#62999) next »