In a php script I am receiving some data:
$data = $_POST['someData'];
How can I do something like this:
goToThisUrl( "http://someDomain.com/someScript.php?data = ".$data );
or if it is easier how can I do it by POST?
BTW. This is not happening in a browser, the first php script is getting called by a cart when the order is paid for (if it makes any difference)
someScript.phpis on the same domain, it would be a lot easier to include it usingrequireand simply call the functions directly.