[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] save redirects
From: |
Lars Kneschke |
Subject: |
Re: [Phpgroupware-developers] save redirects |
Date: |
Mon, 31 Dec 2001 14:56:49 +0100 (MET) |
> address@hidden schrieb:
>
> To hide the session id in the URL, we could redirect all external links
> to a URI such as: To hide the session id in the URL, we could redirect
> all external links to a URI such as:
> http://localhost.com/phpgroupware/index.php?go=http%3A%2F%
2Fexternal.host.com
> http://localhost.com/phpgroupware/index.php?go=http%3A%2F%
2Fexternal.host.com
> with this as the first check in index.php:
>
> if ($GLOBALS['go'])
> {
> Header('Location: ' . $GLOBALS['go']);
> exit;
> }
Ok, i put it in cvs. the file is phpgroupware/redirect.php. And it works! :)
I tested it.
When i find the time, i'll modify the link() function, so it will be able
to create links automatic using the redirect script.
Cu