<script language="JavaScript"> document.location.href="<? echo $HTTP_REFERER ?>" </script>
<?header("location: index.php");?>