define, that the user came from specific page? (in PHP)
<p>Is there the way in PHP to define, that the user came from specific page? without "post" requests.<br>
I have a "add post" page. when user submit a post, on the next page he can submit some more information. But when user click "back" in browser he returns to blank "add post" form, and what I need is that the user can modify previously submitted info, but only if he presses back from this second page. </p>

<p><code>$_SERVER['HTTP_REFERER']</code> - doesn't seem to work.<br>
Maybe I can set some data in <code>$_SESSION</code> on second page and celar it on every other page except the first.. but its seems like not very smart.</p>
