Look at the links: http://www.existential-theory.ssxh.net/index.php
phpinfo(): http://www.existential-theory.ssxh.net/ ... on=phpinfo
(The site is still very much under construction)
[edit] Solved the problem, not really but a workaround. If its the first visit, php sends a Location header with the same URI and GET query
Code: Select all
$reloadpage = false;
if(!isset($_SESSION['last_page'])) $reloadpage = true;
//Set the last page session var to the absolute location of this page.
$_SESSION['last_page'] = $url['page_abs'];
if($reloadpage)
{
$query = '';
if($url['query'] != '') $query = '?' . $url['query'];
header('Location: ' . $url['page_abs'] . $query); die();
unset($query);
}
unset($reloadpage);