|
From: <le...@pr...> - 2004-11-07 05:39:14
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26137 Modified Files: Tag: leonard-dev submit.php Log Message: use _SERVER Index: submit.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/submit.php,v retrieving revision 1.14 retrieving revision 1.14.2.1 diff -u -d -r1.14 -r1.14.2.1 --- submit.php 18 Sep 2004 06:08:11 -0000 1.14 +++ submit.php 7 Nov 2004 05:39:03 -0000 1.14.2.1 @@ -492,7 +492,7 @@ /* return to the index */ if (!isset($location)) - $location = "http://".$HTTP_HOST.dirname($PHP_SELF)."/"; + $location = "http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/"; } |