- <th><a href="<?php echo $PHP_SELF; ?>?order=i">id</a></th>
- <th><a href="<?php echo $PHP_SELF; ?>?order=t">type</a></th>
- <th><a href="<?php echo $PHP_SELF; ?>?order=p">path</a></th>
+ <th><a href="<?php echo $_SERVER['PHP_SELF']; ?>?order=i">id</a></th>
+ <th><a href="<?php echo $_SERVER['PHP_SELF']; ?>?order=t">type</a></th>
+ <th><a href="<?php echo $_SERVER['PHP_SELF']; ?>?order=p">path</a></th>