--- kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/util/regex_test.php.orig 2005-08-18 14:16:12.000000000 -0300 +++ kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/util/regex_test.php 2005-08-18 14:17:19.000000000 -0300 @@ -70,7 +70,7 @@ <body bgcolor="#FFFFFF"> <h1>Test <a href="http://www.php.net/manual/en/ref.pcre.php">PHP Regular Expression Functions (Perl-Compatible)</a></h1> <div class="fixed">preg_match_all($pattern, $subject, $matches, PREG_SET_ORDER)</div> -<form name="form1" method="post" action="<?php echo $PHP_SELF?>"> +<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']?>"> <p><strong>Enter your regular expression ($pattern):</strong><br /> <textarea name="regexp" cols="80" rows="6" id="regexp"><?php if($submit){echo $escapedRegexp;}?></textarea> <br /> @@ -79,7 +79,7 @@ <br /> <input type="submit" name="submit" value="Test"> <input type="reset" name="Reset" value="Reset"> -<a href='<?php echo $PHP_SELF?>'>Home</a><br /> +<a href='<?php echo $_SERVER['PHP_SELF']?>'>Home</a><br /> </p> </form> <hr>