Is there a way I can select what URL or domain I recive POST data from using PHP.
For example, lets say I make a form submition from a domain called www.test.com and the form looks like this.
<form method="POST" action="www.domain2.com">
<input type="text" name="test" value="1">
</form>
Is there any way for me in the php code on www.domain2.com get what domain that post data is comming in from (in this exmaple it would be "www.test.com")?
And if its possible, how do I do it?
Thanks for all help!