# \[help\] Must come from specific page?

**URL:** <https://forum.kirupa.com/t/help-must-come-from-specific-page/225670>\
**Category:** programming\
**Created:** [May 14, 2007, 8:12pm UTC](https://forum.kirupa.com/t/help-must-come-from-specific-page/225670 "2007-05-14T20:12:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjj](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@cjj](https://forum.kirupa.com/u/cjj)\
**Post date:** [May 14, 2007, 8:12pm UTC](https://forum.kirupa.com/t/help-must-come-from-specific-page/225670/1 "2007-05-14T20:12:57Z")

</div>

Is there anyway in PHP to determine if the user came from a specific page?

So that if the user came from the right page (page1.php) then they get certain info and if they came from any other page they get an error message?

Im sure I have seen this before. I would really appreciate any help with this! :h:
