okay cool as...
Skull you code is what i was looking for and it worked well..
on page1.php I have this on a form which is taken to page2.php
$first = $_SERVER['QUERY_STRING'];
But on page2.php I have this..
<meta http-equiv="REFRESH" content="0;url=addpost.php?<?php echo $first; ?>">
however back on the first page i do a
echo $_SERVER['HTTP_REFERER'];
but I don't get the page.php which is were the user has come from... i guess this is because a user has not clicked a link.. any ideas how to fix this???