I'm building a blog .
I want to redirect users who tried to access a post page , without get parameter to thr previous page (if possible without `$_SERVER['HTTP_REFERER']`)

Exemple : `www.myblog.com/post.php`

And allow access to this page only via this url 

```
www.myblog.com/post.php?id=number

```