Re: some kind of redirection (not the header function)
| From: | Juan Nin | Date: | Thu, 11 Sep 2003 19:20:37 +0000 |
| Subject: | Re: some kind of redirection (not the header function) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162330@lists.php.net to get a copy of this message | ||
On Thu, 2003-09-11 at 16:04, Ed Curtis wrote:
> I'm pretty sure that YahooGroups uses cookies for this to hold values
> while you're not on their site. When you return it checks for the cookies
> and reloads the values from the last visit. You can accomplish this with
> PHP as well.
that´s clear, I know that, but thatś not what I want...
I mean, the thing is that I want to execute the same PHP scripts, no matter what directory I´m in,
but
show data according to what directory I´m in, exactly the same that happens with yahoogroups and
it´s groups
that´s why I´m thinking in putting the PHP pages in each directory which just include the common
PHPs
from an include directory (could use hard links either, but I prefer doing it via PHP and not depend
on Os stuff)
so that´s what I´m asking, if there´s a better way to achieve this, not talking about cookies :)
Juan