From db1b79ff98dbc9b0353b293e6a20feae1400ee9d Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Mon, 31 Dec 2001 12:44:47 +0000 Subject: [PATCH] we can use this file, to hide the refferer to external websites use it like this: /phpgroupware/index.php?go=http%3A%2F%2Fexternal.host.com need still some tweaking :) --- redirect.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 redirect.php diff --git a/redirect.php b/redirect.php new file mode 100644 index 0000000000..63b85a7c28 --- /dev/null +++ b/redirect.php @@ -0,0 +1,25 @@ + * + * doing and adding to cvs: Lars Kneschke * + * http://www.phpgroupware.org * + * -------------------------------------------- * + * This program is free software; you can redistribute it and/or modify it * + * under the terms of the GNU General Public License as published by the * + * Free Software Foundation; either version 2 of the License, or (at your * + * option) any later version. * + \**************************************************************************/ + + /* $Id$ */ + + if ($GLOBALS['go']) + { + Header('Location: ' . $GLOBALS['go']); + exit; + } + else + { + print "this want work!!"; + } +?> \ No newline at end of file