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 :)
This commit is contained in:
Lars Kneschke 2001-12-31 12:44:47 +00:00
parent 601f495f93
commit db1b79ff98

25
redirect.php Normal file
View File

@ -0,0 +1,25 @@
<?php
/**************************************************************************\
* phpGroupWare - save redirect script *
* idea by: Jason Wies <jason@xc.net> *
* doing and adding to cvs: Lars Kneschke <lkneschke@linux-at-work.de> *
* 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!!";
}
?>