Morning Tailslide,
Does my offering not suit?
I tried it here and did not receive any expired page notices, are you POSTing to the intermediate page or simple passing an id via GET?
HTML
Code HTML4Strict:
<a href="redirect.php?id=1">Visit</a>
PHP(redirect.php)
PHP Code:
<?php
$aSites = array(
'http://www.google.co.uk',
'http://www.yahoo.co.uk',
'http://news.bbc.co.uk',
'http://www.telegraph.co.uk/scienceandtechnology/science/sciencenews/',
);
if(isset($_GET['id']) && !empty($_GET['id']) && isset($aSites[$_GET['id']]))
{
header('HTTP/1.1 303 See Other');
header(
sprintf(
'Location: %s',
$aSites[$_GET['id']]
)
);
exit;
}
?>
Bookmarks