leave a comment »
<?php $host = $_SERVER["HTTP_HOST"]; header("Location: http://$host/wiki"); ?>
http://php.net/manual/en/reserved.variables.server.php
http://php.net/manual/en/function.header.php
Written by Fernando Ribeiro
November 27, 2009 at 2:53 pm
Posted in Software
Tagged with MediaWiki
Name (required)
E-mail (will not be published) (required)
Website
Notify me of follow-up comments via email.
Notify me of new posts via email.