There is the $_SERVER['HTTP_REFERER'] which will tell you where they have come from. However, it is set by the clients browser, and as such not reliable..
The other way woul dbe that you store a ranom string in database on server 1 and pass that string on through the form. You can then verify on server1 whether the [person is valid.
OR you can on server 1 do the processing and generate a call to server 2 in the background. After server 2 gives the OK, you refresh the user to server 2.