<?php

// index.php
// -----------------------------------------------------------------------------
// Redirect user to page in parent directory,
// determined by last directory name in URL, preserving the query string
// eg Send /numbers/0800/ to /numbers/0800.php
//
// Project    > A16-dmABS-1.5-Feb09
// Copyright  > (C) Digital Mail Limited (2005 - 2009)
// Author     > RAK for DML
// -----------------------------------------------------------------------------

$query_string = $_SERVER['QUERY_STRING'] ? '?' . $_SERVER['QUERY_STRING'] : '';
if (get_magic_quotes_gpc()) $query_string = stripslashes($query_string);
header('LOCATION: ../index.php' . $query_string); // Forward user to page
exit;

?>